Skip to content

Commit 7ac88f0

Browse files
Notification bar defaults closed
1 parent ea806a6 commit 7ac88f0

File tree

1 file changed

+2
-2
lines changed
  • internal_filesystem/lib/mpos

1 file changed

+2
-2
lines changed

internal_filesystem/lib/mpos/ui.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
rootscreen = None
1717

1818
drawer_open=False
19-
bar_open=True
19+
bar_open=False
2020

2121
hide_bar_animation = None
2222
show_bar_animation = None
@@ -119,7 +119,7 @@ def create_notification_bar():
119119
# Create notification bar
120120
notification_bar = lv.obj(lv.layer_top())
121121
notification_bar.set_size(lv.pct(100), NOTIFICATION_BAR_HEIGHT)
122-
notification_bar.set_pos(0, 0)
122+
notification_bar.set_pos(0, show_bar_animation_start_value)
123123
notification_bar.set_scrollbar_mode(lv.SCROLLBAR_MODE.OFF)
124124
notification_bar.set_scroll_dir(lv.DIR.VER)
125125
notification_bar.set_style_border_width(0, 0)

0 commit comments

Comments
 (0)