rename getPomodoroSecondsLeft -> pomodoroSecondsLeft

This commit is contained in:
end-4
2025-08-09 16:31:03 +07:00
parent 0ee9afba4f
commit 903a975033
2 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -24,7 +24,7 @@ Singleton {
property bool isBreak: false
property bool isPomodoroReset: !isPomodoroRunning
property int timeLeft: focusTime
property int getPomodoroSecondsLeft: focusTime
property int pomodoroSecondsLeft: focusTime
property int pomodoroStartTime: Persistent.states.timer.pomodoro.start
property int pomodoroCycle: 1
@@ -79,7 +79,7 @@ Singleton {
}
// A nice abstraction for resume logic by updating the TimeStarted
getPomodoroSecondsLeft = (pomodoroStartTime + timeLeft) - getCurrentTimeInSeconds()
pomodoroSecondsLeft = (pomodoroStartTime + timeLeft) - getCurrentTimeInSeconds()
}
function getCurrentTimeInSeconds() { // Pomodoro uses Seconds