Skip to content

Commit ba7c8c2

Browse files
Disable notification bar click to open drawer
1 parent b46756b commit ba7c8c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal_filesystem/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def add_notification_bar(screen):
7676
# Create notification bar object
7777
notification_bar = lv.obj(screen)
7878
notification_bar.set_style_bg_color(COLOR_NOTIF_BAR_BG, 0)
79-
notification_bar.set_size(320, NOTIFICATION_BAR_HEIGHT)
79+
notification_bar.set_size(TFT_HOR_RES, NOTIFICATION_BAR_HEIGHT)
8080
notification_bar.set_pos(0, 0)
8181
notification_bar.set_scrollbar_mode(lv.SCROLLBAR_MODE.OFF)
8282
notification_bar.set_scroll_dir(lv.DIR.VER)
@@ -149,7 +149,7 @@ def update_memfree(timer):
149149
timer2 = lv.timer_create(update_temperature, TEMPERATURE_UPDATE_INTERVAL, None)
150150
timer3 = lv.timer_create(update_memfree, MEMFREE_UPDATE_INTERVAL, None)
151151
timer4 = lv.timer_create(update_wifi_icon, WIFI_ICON_UPDATE_INTERVAL, None)
152-
notification_bar.add_event_cb(toggle_drawer, lv.EVENT.CLICKED, None)
152+
#notification_bar.add_event_cb(toggle_drawer, lv.EVENT.CLICKED, None)
153153
return timer1, timer2, timer3, timer4
154154

155155

0 commit comments

Comments
 (0)