Update HomeAssistantView.mc

Removed empty else clause.
This commit is contained in:
Philip Abbey
2024-01-21 20:00:52 +00:00
parent d9ecaf34ee
commit fc7302ad3b

View File

@ -34,7 +34,6 @@ class HomeAssistantView extends WatchUi.Menu2 {
:theme as WatchUi.MenuTheme or Null
} or Null
) {
if (options == null) {
options = {
:title => definition.get("title") as Lang.String
@ -160,7 +159,7 @@ class HomeAssistantViewDelegate extends WatchUi.Menu2InputDelegate {
var haMenuItem = item as HomeAssistantGroupMenuItem;
// System.println("IconMenu: " + haMenuItem.getLabel() + " " + haMenuItem.getId());
WatchUi.pushView(haMenuItem.getMenuView(), new HomeAssistantViewDelegate(false), WatchUi.SLIDE_LEFT);
} else {
// } else {
// System.println(item.getLabel() + " " + item.getId());
}
}