@@ -237,8 +237,8 @@ def do_startup(self):
237237 self .show_about
238238 )
239239 self .context ["api" ]["enable_safeeyes" ] = (
240- lambda next_break_time = - 1 , reset_breaks = False : utility .execute_main_thread (
241- self .enable_safeeyes , next_break_time , reset_breaks
240+ lambda next_break_time = - 1 : utility .execute_main_thread (
241+ self .enable_safeeyes , next_break_time
242242 )
243243 )
244244 self .context ["api" ]["disable_safeeyes" ] = (
@@ -494,15 +494,15 @@ def restart(self, config, set_active=False):
494494 self .safe_eyes_core .start ()
495495 self .plugins_manager .start ()
496496
497- def enable_safeeyes (self , scheduled_next_break_time = - 1 , reset_breaks = False ):
497+ def enable_safeeyes (self , scheduled_next_break_time = - 1 ):
498498 """Listen to tray icon enable action and send the signal to core."""
499499 if (
500500 not self .required_plugin_dialog_active
501501 and not self .active
502502 and self .safe_eyes_core .has_breaks ()
503503 ):
504504 self .active = True
505- self .safe_eyes_core .start (scheduled_next_break_time , reset_breaks )
505+ self .safe_eyes_core .start (scheduled_next_break_time )
506506 self .plugins_manager .start ()
507507
508508 def disable_safeeyes (self , status = None , is_resting = False ):
0 commit comments