@@ -126,7 +126,7 @@ def refresh_navigation(self):
126126 # Add update indicator if update is available
127127 if self .update_info :
128128 bottom_section_widgets .append (
129- get_update_notification_container ()
129+ self . get_update_notification_container ()
130130 )
131131
132132 # Update the bottom container content
@@ -215,7 +215,7 @@ def build_layout(self):
215215 # Add update indicator if update is available
216216 if self .update_info :
217217 bottom_section_widgets .append (
218- get_update_notification_container ()
218+ self . get_update_notification_container ()
219219 )
220220
221221 # Create navigation container with logo at bottom
@@ -828,23 +828,22 @@ def get_last_run_time(self) -> datetime:
828828
829829 return self ._last_run_time
830830
831-
832- def get_update_notification_container ():
833- return ft .Container (
834- content = ft .Text (
835- "Update Available" ,
836- size = 11 ,
837- color = ft .Colors .ORANGE_400 ,
838- weight = ft .FontWeight .BOLD ,
839- text_align = ft .TextAlign .CENTER
840- ),
841- padding = ft .padding .only (top = 8 , left = 4 , right = 4 , bottom = 4 ),
842- alignment = ft .alignment .center ,
843- on_click = lambda e : self .show_update_notification (),
844- border_radius = 4 ,
845- bgcolor = ft .Colors .ORANGE_50 ,
846- border = ft .border .all (1 , ft .Colors .ORANGE_400 )
847- )
831+ def get_update_notification_container (self ):
832+ return ft .Container (
833+ content = ft .Text (
834+ "Update Available" ,
835+ size = 11 ,
836+ color = ft .Colors .ORANGE_400 ,
837+ weight = ft .FontWeight .BOLD ,
838+ text_align = ft .TextAlign .CENTER
839+ ),
840+ padding = ft .padding .only (top = 8 , left = 4 , right = 4 , bottom = 4 ),
841+ alignment = ft .alignment .center ,
842+ on_click = lambda e : self .show_update_notification (),
843+ border_radius = 4 ,
844+ bgcolor = ft .Colors .ORANGE_50 ,
845+ border = ft .border .all (1 , ft .Colors .ORANGE_400 )
846+ )
848847
849848
850849def ddb_cleanup ():
0 commit comments