mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-05-05 07:02:35 +00:00
Tap menu items without a service tag will be ignored.
The JSON schema checker is relied on to highlight this error.
This commit is contained in:
@ -68,7 +68,7 @@ class HomeAssistantView extends WatchUi.Menu2 {
|
||||
);
|
||||
addItem(item);
|
||||
mListToggleItems.add(item);
|
||||
} else if (type.equals("tap")) {
|
||||
} else if (type.equals("tap") && service != null) {
|
||||
addItem(
|
||||
new HomeAssistantMenuItem(
|
||||
name,
|
||||
|
Reference in New Issue
Block a user