File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments