diff --git a/manifest.xml b/manifest.xml index 4bfbed6..643d0e3 100644 --- a/manifest.xml +++ b/manifest.xml @@ -11,21 +11,24 @@ P A Abbey & J D Abbey, 31 October 2023 + Test Application id="98c36259-498a-4458-9cef-74a273ad2bc3" + Live Application id="40131e87-31ff-454b-a8e2-92276ee399d6" + --> + Use "Monkey C: Edit Application" from the Visual Studio Code command palette + to update the application attributes. + --> + Use the following from the Visual Studio Code comand palette to edit + the build targets: + "Monkey C: Set Products by Product Category" - Lets you add all products + that belong to the same product category + "Monkey C: Edit Products" - Lets you add or remove any product + --> @@ -69,17 +72,17 @@ + Use "Monkey C: Edit Permissions" from the Visual Studio Code command + palette to update permissions. + --> + Use "Monkey C: Edit Languages" from the Visual Studio Code command + palette to edit your compatible language list. + --> ara bul @@ -118,10 +121,10 @@ ukr vie - + \ No newline at end of file diff --git a/source/HomeAssistantApp.mc b/source/HomeAssistantApp.mc index d93ce2a..bfc4ffd 100644 --- a/source/HomeAssistantApp.mc +++ b/source/HomeAssistantApp.mc @@ -69,6 +69,11 @@ class HomeAssistantApp extends Application.AppBase { true ); WatchUi.switchToView(haMenu, new HomeAssistantViewDelegate(), WatchUi.SLIDE_IMMEDIATE); + } else if (responseCode == -300) { + if (Globals.debug) { + System.println("HomeAssistantApp Note - onReturnFetchMenuConfig(): Network request timeout."); + } + WatchUi.pushView(new ErrorView(strNoMenu + ". " + strNoInternet + "?"), new ErrorDelegate(), WatchUi.SLIDE_UP); } else { if (Globals.debug) { System.println("HomeAssistantApp Note - onReturnFetchMenuConfig(): Configuration not found or potential validation issue."); @@ -95,7 +100,7 @@ class HomeAssistantApp extends Application.AppBase { } new Alert({ :timeout => Globals.alertTimeout, - :font => Graphics.FONT_SYSTEM_MEDIUM, + :font => Graphics.FONT_SYSTEM_TINY, :text => strNoInternet, :fgcolor => Graphics.COLOR_RED, :bgcolor => Graphics.COLOR_BLACK diff --git a/source/HomeAssistantMenuItem.mc b/source/HomeAssistantMenuItem.mc index bf4a06e..26c6f5b 100644 --- a/source/HomeAssistantMenuItem.mc +++ b/source/HomeAssistantMenuItem.mc @@ -94,7 +94,7 @@ class HomeAssistantMenuItem extends WatchUi.MenuItem { } new Alert({ :timeout => Globals.alertTimeout, - :font => Graphics.FONT_SYSTEM_MEDIUM, + :font => Graphics.FONT_SYSTEM_TINY, :text => strNoInternet, :fgcolor => Graphics.COLOR_RED, :bgcolor => Graphics.COLOR_BLACK diff --git a/source/HomeAssistantToggleMenuItem.mc b/source/HomeAssistantToggleMenuItem.mc index 82c3393..82474de 100644 --- a/source/HomeAssistantToggleMenuItem.mc +++ b/source/HomeAssistantToggleMenuItem.mc @@ -101,7 +101,7 @@ class HomeAssistantToggleMenuItem extends WatchUi.ToggleMenuItem { } new Alert({ :timeout => Globals.alertTimeout, - :font => Graphics.FONT_SYSTEM_MEDIUM, + :font => Graphics.FONT_SYSTEM_TINY, :text => strNoInternet, :fgcolor => Graphics.COLOR_RED, :bgcolor => Graphics.COLOR_BLACK @@ -165,7 +165,7 @@ class HomeAssistantToggleMenuItem extends WatchUi.ToggleMenuItem { } new Alert({ :timeout => Globals.alertTimeout, - :font => Graphics.FONT_SYSTEM_MEDIUM, + :font => Graphics.FONT_SYSTEM_TINY, :text => strNoInternet, :fgcolor => Graphics.COLOR_RED, :bgcolor => Graphics.COLOR_BLACK