1.0.0 alpha1
This commit is contained in:
		| @@ -264,7 +264,7 @@ class _HAClientAppState extends State<HAClientApp> { | |||||||
|       routes: { |       routes: { | ||||||
|         "/": (context) => MainPage(title: 'HA Client'), |         "/": (context) => MainPage(title: 'HA Client'), | ||||||
|         "/app-settings": (context) => AppSettingsPage(), |         "/app-settings": (context) => AppSettingsPage(), | ||||||
|         "/connection-settings": (context) => AppSettingsPage(), |         "/connection-settings": (context) => AppSettingsPage(showSection: AppSettingsSection.connectionSettings), | ||||||
|         "/integration-settings": (context) => AppSettingsPage(showSection: AppSettingsSection.integrationSettings), |         "/integration-settings": (context) => AppSettingsPage(showSection: AppSettingsSection.integrationSettings), | ||||||
|         "/putchase": (context) => PurchasePage(title: "Support app development"), |         "/putchase": (context) => PurchasePage(title: "Support app development"), | ||||||
|         "/play-media": (context) => PlayMediaPage( |         "/play-media": (context) => PlayMediaPage( | ||||||
|   | |||||||
| @@ -14,7 +14,7 @@ class StartupUserMessagesManager { | |||||||
|   bool _supportAppDevelopmentMessageShown; |   bool _supportAppDevelopmentMessageShown; | ||||||
|   bool _whatsNewMessageShown; |   bool _whatsNewMessageShown; | ||||||
|   static final _supportAppDevelopmentMessageKey = "user-message-shown-support-development_3"; |   static final _supportAppDevelopmentMessageKey = "user-message-shown-support-development_3"; | ||||||
|   static final _whatsNewMessageKey = "user-message-shown-whats-new-894"; |   static final _whatsNewMessageKey = "user-message-shown-whats-new-1000"; | ||||||
|  |  | ||||||
|   void checkMessagesToShow() async { |   void checkMessagesToShow() async { | ||||||
|     SharedPreferences prefs = await SharedPreferences.getInstance(); |     SharedPreferences prefs = await SharedPreferences.getInstance(); | ||||||
|   | |||||||
| @@ -540,6 +540,12 @@ class _MainPageState extends State<MainPage> with WidgetsBindingObserver, Ticker | |||||||
|                     child: Text("Login with long-lived token", style: Theme.of(context).textTheme.button), |                     child: Text("Login with long-lived token", style: Theme.of(context).textTheme.button), | ||||||
|                     color: Theme.of(context).primaryColor, |                     color: Theme.of(context).primaryColor, | ||||||
|                     onPressed: () => eventBus.fire(ShowTokenLoginPopupEvent(goBackFirst: false)) |                     onPressed: () => eventBus.fire(ShowTokenLoginPopupEvent(goBackFirst: false)) | ||||||
|  |                   ), | ||||||
|  |                   Container(height: 20,), | ||||||
|  |                   FlatButton( | ||||||
|  |                     child: Text("Connection settings", style: Theme.of(context).textTheme.button), | ||||||
|  |                     color: Theme.of(context).primaryColor, | ||||||
|  |                     onPressed: () => Navigator.of(context).pushNamed('/connection-settings') | ||||||
|                   ) |                   ) | ||||||
|                 ] |                 ] | ||||||
|             ) |             ) | ||||||
|   | |||||||
| @@ -24,7 +24,7 @@ class _WhatsNewPageState extends State<WhatsNewPage> { | |||||||
|       error = ""; |       error = ""; | ||||||
|     }); |     }); | ||||||
|     http.Response response; |     http.Response response; | ||||||
|     response = await http.get("http://ha-client.app/service/whats_new_0.8.5.md"); |     response = await http.get("http://ha-client.app/service/whats_new_1.0.0.md"); | ||||||
|     if (response.statusCode == 200) { |     if (response.statusCode == 200) { | ||||||
|       setState(() { |       setState(() { | ||||||
|         data = response.body; |         data = response.body; | ||||||
|   | |||||||
| @@ -1,7 +1,7 @@ | |||||||
| name: hass_client | name: hass_client | ||||||
| description: Home Assistant Android Client | description: Home Assistant Android Client | ||||||
|  |  | ||||||
| version: 1.0.0+1002 | version: 1.0.0+1003 | ||||||
|  |  | ||||||
|  |  | ||||||
| environment: | environment: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user