diff --git a/lib/main.dart b/lib/main.dart index eec4d26..45c1204 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -107,7 +107,7 @@ part 'ui_widgets/config_panel_widget.dart'; EventBus eventBus = new EventBus(); final FirebaseMessaging _firebaseMessaging = FirebaseMessaging(); const String appName = "HA Client"; -const appVersion = "0.6.0-alpha1"; +const appVersion = "0.6.0-alpha2"; void main() { FlutterError.onError = (errorDetails) { @@ -459,6 +459,38 @@ class _MainPageState extends State with WidgetsBindingObserver, Ticker decoration: TextDecoration.underline ), ), + ), + Container( + height: 10.0, + ), + GestureDetector( + onTap: () { + Navigator.of(context).pop(); + HAUtils.launchURLInCustomTab(context, "http://ha-client.homemade.systems/terms_and_conditions"); + }, + child: Text( + "Terms and Conditions", + style: TextStyle( + color: Colors.blue, + decoration: TextDecoration.underline + ), + ), + ), + Container( + height: 10.0, + ), + GestureDetector( + onTap: () { + Navigator.of(context).pop(); + HAUtils.launchURLInCustomTab(context, "http://ha-client.homemade.systems/privacy_policy"); + }, + child: Text( + "Privacy Policy", + style: TextStyle( + color: Colors.blue, + decoration: TextDecoration.underline + ), + ), ) ], applicationName: appName, diff --git a/pubspec.yaml b/pubspec.yaml index 617995c..50a59b5 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: hass_client description: Home Assistant Android Client -version: 0.6.0+101 +version: 0.6.0+601 environment: sdk: ">=2.0.0-dev.68.0 <3.0.0"