mirror of
https://codeberg.org/timelimit/timelimit-android.git
synced 2025-10-06 03:50:23 +02:00
Trigger sync after adding used time manually
This commit is contained in:
parent
e672dd9eb1
commit
b61d973bcf
1 changed files with 2 additions and 0 deletions
|
@ -131,6 +131,8 @@ class AddUsedTimeDialogFragment: BottomSheetDialogFragment() {
|
|||
ignoreIfDeviceIsNotConfigured = true
|
||||
)
|
||||
|
||||
logic.syncUtil.requestImportantSync(enqueueIfOffline = true)
|
||||
|
||||
Toast.makeText(
|
||||
savedContext,
|
||||
savedContext.getString(R.string.add_used_time_confirmation_toast, TimeTextUtil.time(timeToAdd.toInt(), savedContext), categoryTitle),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue