From dc62a08da3a77c51bb89dfbdbe0104d168574c70 Mon Sep 17 00:00:00 2001 From: estevez-dev Date: Wed, 18 Sep 2019 21:14:21 +0300 Subject: [PATCH 1/2] Fix issue with unnamed view --- lib/view.class.dart | 4 ++-- pubspec.lock | 24 ++++++++++++------------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/lib/view.class.dart b/lib/view.class.dart index 1380767..173ea21 100644 --- a/lib/view.class.dart +++ b/lib/view.class.dart @@ -87,7 +87,7 @@ class HAView { } else { return Tab( - text: name.toUpperCase(), + text: "${name?.toUpperCase() ?? "UNNAMED VIEW"}", ); } } else { @@ -101,7 +101,7 @@ class HAView { ); } else { return Tab( - text: linkedEntity.displayName.toUpperCase(), + text: "${linkedEntity.displayName?.toUpperCase()}", ); } diff --git a/pubspec.lock b/pubspec.lock index a90ac41..f92cde2 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -21,14 +21,14 @@ packages: name: async url: "https://pub.dartlang.org" source: hosted - version: "2.2.0" + version: "2.3.0" boolean_selector: dependency: transitive description: name: boolean_selector url: "https://pub.dartlang.org" source: hosted - version: "1.0.4" + version: "1.0.5" cached_network_image: dependency: "direct main" description: @@ -77,7 +77,7 @@ packages: name: crypto url: "https://pub.dartlang.org" source: hosted - version: "2.1.2" + version: "2.1.3" date_format: dependency: "direct main" description: @@ -138,7 +138,7 @@ packages: name: flutter_local_notifications url: "https://pub.dartlang.org" source: hosted - version: "0.8.2" + version: "0.8.3" flutter_markdown: dependency: "direct main" description: @@ -152,7 +152,7 @@ packages: name: flutter_secure_storage url: "https://pub.dartlang.org" source: hosted - version: "3.2.1+1" + version: "3.3.1+1" flutter_test: dependency: "direct dev" description: flutter @@ -164,7 +164,7 @@ packages: name: flutter_webview_plugin url: "https://pub.dartlang.org" source: hosted - version: "0.3.7" + version: "0.3.8" http: dependency: transitive description: @@ -234,14 +234,14 @@ packages: name: meta url: "https://pub.dartlang.org" source: hosted - version: "1.1.6" + version: "1.1.7" path: dependency: transitive description: name: path url: "https://pub.dartlang.org" source: hosted - version: "1.6.2" + version: "1.6.4" path_provider: dependency: transitive description: @@ -255,7 +255,7 @@ packages: name: pedantic url: "https://pub.dartlang.org" source: hosted - version: "1.7.0" + version: "1.8.0+1" petitparser: dependency: transitive description: @@ -283,7 +283,7 @@ packages: name: quiver url: "https://pub.dartlang.org" source: hosted - version: "2.0.3" + version: "2.0.5" share: dependency: "direct main" description: @@ -339,7 +339,7 @@ packages: name: string_scanner url: "https://pub.dartlang.org" source: hosted - version: "1.0.4" + version: "1.0.5" synchronized: dependency: transitive description: @@ -374,7 +374,7 @@ packages: name: url_launcher url: "https://pub.dartlang.org" source: hosted - version: "5.1.2" + version: "5.1.3" uuid: dependency: transitive description: From 753df3c724c69fcbe66089b65e06df0ffd2b5697 Mon Sep 17 00:00:00 2001 From: estevez-dev Date: Wed, 18 Sep 2019 21:18:24 +0300 Subject: [PATCH 2/2] v.0.6.7 --- lib/main.dart | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index a4f6414..57b3e8a 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -130,7 +130,7 @@ EventBus eventBus = new EventBus(); final FirebaseMessaging _firebaseMessaging = FirebaseMessaging(); FlutterLocalNotificationsPlugin flutterLocalNotificationsPlugin = new FlutterLocalNotificationsPlugin(); const String appName = "HA Client"; -const appVersion = "0.6.6"; +const appVersion = "0.6.7"; void main() async { FlutterError.onError = (errorDetails) { diff --git a/pubspec.yaml b/pubspec.yaml index 88209fa..679c609 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: hass_client description: Home Assistant Android Client -version: 0.6.6+660 +version: 0.6.7+675 environment: sdk: ">=2.0.0-dev.68.0 <3.0.0"