Conversation
There was a problem hiding this comment.
Refactored the Keymap class by separating its responsibilities into three distinct classes: ShortcutConfig for handling shortcut key configuration, ShortcutAction for executing actions triggered by shortcuts, and Keymap which now solely focuses on registering global shortcuts.
There was a problem hiding this comment.
Time class by separating its responsibilities into three separate classes: SystemClock to get the current time, TimeConverter for unit conversion, and TimeHelper for day/night transition logic.
There was a problem hiding this comment.
Tray class by separating its responsibilities into three distinct classes: TrayConfig for handling tray icon and tooltip configuration, TrayTemplate for building the tray context menu, and TrayClickHandler for managing click actions. The Tray class now solely focuses on initializing and managing the tray instance.
There was a problem hiding this comment.
Startup class by separating its responsibilities into three dedicated modules: AutoLaunchConfig for defining launcher configuration, AutoLauncher for handling the enable/disable logic using the auto-launch module, and StartupManager which orchestrates launcher behavior based on user settings
There was a problem hiding this comment.
Mode class by separating responsibilities into three focused modules: ManualMode for user-triggered mode changes, AutoNightMode for time-based automatic mode switching, and ModeRestorer for restoring UI mode from saved settings
No description provided.