mirror of
https://github.com/house-of-abbey/GarminHomeAssistant.git
synced 2025-06-17 03:48:32 +00:00
Cosmetic
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
@ -108,9 +108,7 @@ class WebLog {
|
||||
// System.println(buffer);
|
||||
Communications.makeWebRequest(
|
||||
ClientId.webLogUrl,
|
||||
{
|
||||
"log" => buffer
|
||||
},
|
||||
{ "log" => buffer },
|
||||
{
|
||||
:method => Communications.HTTP_REQUEST_METHOD_GET,
|
||||
:headers => {
|
||||
|
Reference in New Issue
Block a user