forked from Shinonome/dots-hyprland
remove unnecessary qualified access
This commit is contained in:
@@ -84,7 +84,7 @@ Singleton {
|
|||||||
interval: 200
|
interval: 200
|
||||||
running: root.isPomodoroRunning
|
running: root.isPomodoroRunning
|
||||||
repeat: true
|
repeat: true
|
||||||
onTriggered: Pomodoro.refreshPomodoro()
|
onTriggered: refreshPomodoro()
|
||||||
}
|
}
|
||||||
|
|
||||||
function togglePomodoro() {
|
function togglePomodoro() {
|
||||||
@@ -112,14 +112,14 @@ Singleton {
|
|||||||
interval: 10
|
interval: 10
|
||||||
running: root.isStopwatchRunning
|
running: root.isStopwatchRunning
|
||||||
repeat: true
|
repeat: true
|
||||||
onTriggered: root.refreshStopwatch()
|
onTriggered: refreshStopwatch()
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleStopwatch() {
|
function toggleStopwatch() {
|
||||||
if (root.isStopwatchRunning)
|
if (root.isStopwatchRunning)
|
||||||
root.stopwatchPause()
|
stopwatchPause()
|
||||||
else
|
else
|
||||||
root.stopwatchResume()
|
stopwatchResume()
|
||||||
}
|
}
|
||||||
|
|
||||||
function stopwatchPause() {
|
function stopwatchPause() {
|
||||||
|
|||||||
Reference in New Issue
Block a user