mirror of
				https://github.com/house-of-abbey/GarminHomeAssistant.git
				synced 2025-11-04 00:48:14 +00:00 
			
		
		
		
	Code review comment
Removed debug Fixed manifest App ID for release
This commit is contained in:
		@@ -21,7 +21,7 @@
 | 
				
			|||||||
    Use "Monkey C: Edit Application" from the Visual Studio Code command palette
 | 
					    Use "Monkey C: Edit Application" from the Visual Studio Code command palette
 | 
				
			||||||
    to update the application attributes.
 | 
					    to update the application attributes.
 | 
				
			||||||
  -->
 | 
					  -->
 | 
				
			||||||
  <iq:application id="98c36259-498a-4458-9cef-74a273ad2bc3" type="watch-app" name="@Strings.AppName" entry="HomeAssistantApp" launcherIcon="@Drawables.LauncherIcon" minApiLevel="3.1.0">
 | 
					  <iq:application id="40131e87-31ff-454b-a8e2-92276ee399d6" type="watch-app" name="@Strings.AppName" entry="HomeAssistantApp" launcherIcon="@Drawables.LauncherIcon" minApiLevel="3.1.0">
 | 
				
			||||||
    <!--
 | 
					    <!--
 | 
				
			||||||
      Use the following from the Visual Studio Code comand palette to edit
 | 
					      Use the following from the Visual Studio Code comand palette to edit
 | 
				
			||||||
      the build targets:
 | 
					      the build targets:
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -131,7 +131,6 @@ class HomeAssistantToggleMenuItem extends WatchUi.ToggleMenuItem {
 | 
				
			|||||||
        if (keepUpdating) {
 | 
					        if (keepUpdating) {
 | 
				
			||||||
            // Now this feels very "closely coupled" to the application, but it is the most reliable method instead of using a timer.
 | 
					            // Now this feels very "closely coupled" to the application, but it is the most reliable method instead of using a timer.
 | 
				
			||||||
            getApp().updateNextMenuItem();
 | 
					            getApp().updateNextMenuItem();
 | 
				
			||||||
            System.println("HomeAssistantToggleMenuItem onReturnGetState(): Updated " + mIdentifier);
 | 
					 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -74,9 +74,7 @@ class HomeAssistantView extends WatchUi.Menu2 {
 | 
				
			|||||||
        var lmi = mListMenuItems as Lang.Array<WatchUi.MenuItem>;
 | 
					        var lmi = mListMenuItems as Lang.Array<WatchUi.MenuItem>;
 | 
				
			||||||
        for(var i = 0; i < mListMenuItems.size(); i++) {
 | 
					        for(var i = 0; i < mListMenuItems.size(); i++) {
 | 
				
			||||||
            var item = lmi[i];
 | 
					            var item = lmi[i];
 | 
				
			||||||
            if (item instanceof HomeAssistantViewMenuItem) {
 | 
					            if (item instanceof HomeAssistantViewMenuItem || item instanceof HomeAssistantViewIconMenuItem) {
 | 
				
			||||||
                fullList.addAll(item.getMenuView().getItemsToUpdate()); 
 | 
					 | 
				
			||||||
            } else if (item instanceof HomeAssistantViewIconMenuItem) {
 | 
					 | 
				
			||||||
                fullList.addAll(item.getMenuView().getItemsToUpdate()); 
 | 
					                fullList.addAll(item.getMenuView().getItemsToUpdate()); 
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user