Updated RezStrings.mc

Variables are now read only via getters.
This commit is contained in:
Philip Abbey
2024-01-01 14:17:04 +00:00
parent b039dfbc3b
commit 9a268eaf02
9 changed files with 191 additions and 102 deletions

View File

@ -28,7 +28,7 @@ class HomeAssistantViewMenuItem extends WatchUi.MenuItem {
// definitions.get(...) are Strings here as they have been checked by HomeAssistantView first
WatchUi.MenuItem.initialize(
definition.get("name") as Lang.String,
RezStrings.strMenuItemMenu,
RezStrings.getMenuItemMenu(),
definition.get("entity") as Lang.String,
null
);