File tree 1 file changed +4
-6
lines changed
app/src/main/kotlin/at/bitfire/davdroid/sync
1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -59,14 +59,12 @@ class SyncNotificationManager @AssistedInject constructor(
59
59
*/
60
60
fun notifyProviderError (authority : String ) {
61
61
val (titleResource, textResource) = when (authority) {
62
- ContactsContract .AUTHORITY -> Pair (
63
- R .string.sync_warning_contacts_storage_disabled_title,
62
+ ContactsContract .AUTHORITY ->
63
+ R .string.sync_warning_contacts_storage_disabled_title to
64
64
R .string.sync_warning_contacts_storage_disabled_description
65
- )
66
- CalendarContract .AUTHORITY -> Pair (
67
- R .string.sync_warning_calendar_storage_disabled_title,
65
+ CalendarContract .AUTHORITY ->
66
+ R .string.sync_warning_calendar_storage_disabled_title to
68
67
R .string.sync_warning_calendar_storage_disabled_description
69
- )
70
68
else -> {
71
69
logger.log(Level .WARNING , " Content provider error for unknown authority: $authority " )
72
70
return
You can’t perform that action at this time.
0 commit comments