We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a361888 commit 73d0b63Copy full SHA for 73d0b63
app/src/main/kotlin/at/bitfire/davdroid/ui/DebugInfoModel.kt
@@ -554,7 +554,7 @@ class DebugInfoModel @AssistedInject constructor(
554
info.authority,
555
ContentResolver.getIsSyncable(account, info.authority),
556
ContentResolver.getSyncAutomatically(account, info.authority), // content-triggered sync
557
- accountSettings.getSyncInterval(info.authority)?.let {"${it/60} min"},
+ accountSettings.getSyncInterval(info.authority)?.takeIf { it >= 0 }?.let {"${it/60} min"},
558
nrEntries
559
)
560
}
0 commit comments