updating commons

This commit is contained in:
tibbi
2023-07-17 14:47:41 +02:00
parent e226c66e16
commit 8e7f3581b4
2 changed files with 5 additions and 3 deletions

View File

@@ -65,7 +65,7 @@ android {
} }
dependencies { dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:35d685c042' implementation 'com.github.SimpleMobileTools:Simple-Commons:42733f39a4'
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61' implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
implementation 'me.grantland:autofittextview:0.2.1' implementation 'me.grantland:autofittextview:0.2.1'
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1" implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"

View File

@@ -74,7 +74,7 @@ class MainActivity : SimpleActivity() {
handleNotificationPermission { granted -> handleNotificationPermission { granted ->
if (!granted) { if (!granted) {
PermissionRequiredDialog(this, R.string.allow_notifications_incoming_calls) PermissionRequiredDialog(this, R.string.allow_notifications_incoming_calls, { openNotificationSettings() })
} }
} }
} else { } else {
@@ -533,6 +533,7 @@ class MainActivity : SimpleActivity() {
} }
} }
} }
private fun showFilterDialog() { private fun showFilterDialog() {
FilterContactSourcesDialog(this) { FilterContactSourcesDialog(this) {
favorites_fragment?.refreshItems { favorites_fragment?.refreshItems {
@@ -554,6 +555,7 @@ class MainActivity : SimpleActivity() {
} }
} }
} }
fun cacheContacts(contacts: List<Contact>) { fun cacheContacts(contacts: List<Contact>) {
try { try {
cachedContacts.clear() cachedContacts.clear()