(pomodoro) count WORK rounds (#75)

This commit is contained in:
Jens Krause
2025-04-29 16:20:02 +02:00
committed by GitHub
parent 028a067419
commit 90d9988e7a
6 changed files with 46 additions and 14 deletions

View File

@@ -18,6 +18,7 @@ pub struct AppStorage {
pub style: Style,
pub with_decis: bool,
pub pomodoro_mode: PomodoroMode,
pub pomodoro_count: u64,
// pomodoro -> work
pub inital_value_work: Duration,
pub current_value_work: Duration,
@@ -46,6 +47,7 @@ impl Default for AppStorage {
style: Style::default(),
with_decis: false,
pomodoro_mode: PomodoroMode::Work,
pomodoro_count: 1,
// pomodoro -> work
inital_value_work: DEFAULT_WORK,
current_value_work: DEFAULT_WORK,