Menu item code tidy

Prior to sorting out inheritance.
This commit is contained in:
Philip Abbey
2025-03-27 20:45:51 +00:00
parent e41f451fbc
commit 236a4969d7
3 changed files with 16 additions and 9 deletions

View File

@ -79,7 +79,7 @@ class HomeAssistantTapMenuItem extends WatchUi.IconMenuItem {
var f = data as Lang.Float;
setSubLabel(f.format("%f"));
} else if(data instanceof Lang.Dictionary) {
// System.println("HomeAsistantTemplateMenuItem updateState() data = " + data);
// System.println("HomeAssistantTapMenuItem updateState() data = " + data);
if (data.get("error") != null) {
setSubLabel($.Rez.Strings.TemplateError);
} else {