Index: samples/swarm/swarm_ui_lib/base/Device.dart |
diff --git a/samples/swarm/swarm_ui_lib/base/Device.dart b/samples/swarm/swarm_ui_lib/base/Device.dart |
index 0dee6113ced7d0249f09221356db44cba76780b3..80256355db02d0e10d8668a7aa54ca9a75646c74 100644 |
--- a/samples/swarm/swarm_ui_lib/base/Device.dart |
+++ b/samples/swarm/swarm_ui_lib/base/Device.dart |
@@ -12,17 +12,17 @@ class Device { |
/** |
* The regular expression for detecting an iPhone or iPod. |
*/ |
- static final _IPHONE_REGEX = new RegExp('iPhone|iPod'); |
+ static const _IPHONE_REGEX = const RegExp('iPhone|iPod'); |
/** |
* The regular expression for detecting an iPhone or iPod or iPad. |
*/ |
- static final _MOBILE_SAFARI_REGEX = new RegExp('iPhone|iPod|iPad'); |
+ static const _MOBILE_SAFARI_REGEX = const RegExp('iPhone|iPod|iPad'); |
/** |
* The regular expression for detecting an iPhone or iPod or iPad simulator. |
*/ |
- static final _APPLE_SIM_REGEX = new RegExp('iP.*Simulator'); |
+ static const _APPLE_SIM_REGEX = const RegExp('iP.*Simulator'); |
/** |
* Gets the browser's user agent. Using this function allows tests to inject |