You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(global.WIDGETS){require("widget_utils").swipeOn();}// If `dsky_clock` was fast loaded into we seemingly need to hide the widgets before setting the layout so elements are not moved down.
18
+
17
19
varlayout=newLayout(
18
20
{type:"h",c:[
19
21
{type:"",width:6},
@@ -54,7 +56,10 @@ var layout = new Layout(
54
56
]},
55
57
{type:"",width:5},
56
58
],
57
-
lazy:true});
59
+
lazy:true},
60
+
{btns:[
61
+
{label:"",cb: Bangle.showLauncher}
62
+
],lazy:true});
58
63
layout.update();
59
64
60
65
//support functioe_ns
@@ -346,12 +351,6 @@ function queueDraw() {
346
351
},60000-(Date.now()%60000));
347
352
}
348
353
349
-
// Show launcher when middle button pressed
350
-
Bangle.setUI("clock");
351
-
352
-
Bangle.loadWidgets();
353
-
require("widget_utils").swipeOn();// hide widgets, make them visible with a swipe
0 commit comments