diff --git a/src/ui/osx/TogglDesktop/Features/Timer/TimerViewController/Views/TimeEditView.swift b/src/ui/osx/TogglDesktop/Features/Timer/TimerViewController/Views/TimeEditView.swift index 090179a36b..4958e214df 100644 --- a/src/ui/osx/TogglDesktop/Features/Timer/TimerViewController/Views/TimeEditView.swift +++ b/src/ui/osx/TogglDesktop/Features/Timer/TimerViewController/Views/TimeEditView.swift @@ -81,9 +81,15 @@ class TimeEditView: NSView { // MARK: - Overrides + required init?(coder: NSCoder) { + dateValue = Date() + super.init(coder: coder) + } + override func awakeFromNib() { super.awakeFromNib() - dateValue = Date() + + update(with: dateValue) // nextDayButton is the last control in key view loop nextDayButton.didPressKey = { [weak self] key, modifiers in