fix: minor fixes
This commit is contained in:
@@ -162,9 +162,6 @@ class SettingsViewModel(
|
|||||||
viewModelScope.launch(Dispatchers.IO) {
|
viewModelScope.launch(Dispatchers.IO) {
|
||||||
|
|
||||||
serviceHelper.startService(TimerAction.ResetTimer)
|
serviceHelper.startService(TimerAction.ResetTimer)
|
||||||
focusFlowCollectionJob?.cancel()
|
|
||||||
shortBreakFlowCollectionJob?.cancel()
|
|
||||||
longBreakFlowCollectionJob?.cancel()
|
|
||||||
statRepository.deleteAllStats()
|
statRepository.deleteAllStats()
|
||||||
_settingsState.update {
|
_settingsState.update {
|
||||||
it.copy(isShowingEraseDataDialog = false)
|
it.copy(isShowingEraseDataDialog = false)
|
||||||
|
|||||||
@@ -113,6 +113,6 @@
|
|||||||
<string name="secure_aod_desc">Automatically lock your device after a timeout, while keeping the AOD visible</string>
|
<string name="secure_aod_desc">Automatically lock your device after a timeout, while keeping the AOD visible</string>
|
||||||
<string name="timer_reset_message">Timer reset</string>
|
<string name="timer_reset_message">Timer reset</string>
|
||||||
<string name="undo">Undo</string>
|
<string name="undo">Undo</string>
|
||||||
<string name="reset_data">Reset data</string>
|
<string name="reset_data">Reset stats</string>
|
||||||
<string name="reset_data_dialog_text">Are you sure you want to Reset all your data ?</string>
|
<string name="reset_data_dialog_text">Are you sure you want to reset all your stats?</string>
|
||||||
</resources>
|
</resources>
|
||||||
Reference in New Issue
Block a user