This commit is contained in:
Philip Abbey
2024-01-22 10:28:35 +00:00
parent 7786efd883
commit 9c001f3402
3 changed files with 7 additions and 11 deletions

View File

@ -35,9 +35,7 @@ class HomeAssistantView extends WatchUi.Menu2 {
} or Null
) {
if (options == null) {
options = {
:title => definition.get("title") as Lang.String
};
options = { :title => definition.get("title") as Lang.String };
} else {
options.put(:title, definition.get("title") as Lang.String);
}