1.0.0 alpha1
This commit is contained in:
parent
4492a08d6b
commit
8aa0e03187
@ -264,7 +264,7 @@ class _HAClientAppState extends State<HAClientApp> {
|
||||
routes: {
|
||||
"/": (context) => MainPage(title: 'HA Client'),
|
||||
"/app-settings": (context) => AppSettingsPage(),
|
||||
"/connection-settings": (context) => AppSettingsPage(),
|
||||
"/connection-settings": (context) => AppSettingsPage(showSection: AppSettingsSection.connectionSettings),
|
||||
"/integration-settings": (context) => AppSettingsPage(showSection: AppSettingsSection.integrationSettings),
|
||||
"/putchase": (context) => PurchasePage(title: "Support app development"),
|
||||
"/play-media": (context) => PlayMediaPage(
|
||||
|
@ -14,7 +14,7 @@ class StartupUserMessagesManager {
|
||||
bool _supportAppDevelopmentMessageShown;
|
||||
bool _whatsNewMessageShown;
|
||||
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 {
|
||||
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),
|
||||
color: Theme.of(context).primaryColor,
|
||||
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 = "";
|
||||
});
|
||||
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) {
|
||||
setState(() {
|
||||
data = response.body;
|
||||
|
@ -1,7 +1,7 @@
|
||||
name: hass_client
|
||||
description: Home Assistant Android Client
|
||||
|
||||
version: 1.0.0+1002
|
||||
version: 1.0.0+1003
|
||||
|
||||
|
||||
environment:
|
||||
|
Reference in New Issue
Block a user