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 {
implementation 'com.github.SimpleMobileTools:Simple-Commons:35d685c042'
implementation 'com.github.SimpleMobileTools:Simple-Commons:42733f39a4'
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
implementation 'me.grantland:autofittextview:0.2.1'
implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1"

View File

@ -74,7 +74,7 @@ class MainActivity : SimpleActivity() {
handleNotificationPermission { granted ->
if (!granted) {
PermissionRequiredDialog(this, R.string.allow_notifications_incoming_calls)
PermissionRequiredDialog(this, R.string.allow_notifications_incoming_calls, { openNotificationSettings() })
}
}
} else {
@ -533,6 +533,7 @@ class MainActivity : SimpleActivity() {
}
}
}
private fun showFilterDialog() {
FilterContactSourcesDialog(this) {
favorites_fragment?.refreshItems {
@ -547,13 +548,14 @@ class MainActivity : SimpleActivity() {
}
}
recents_fragment?.refreshItems{
recents_fragment?.refreshItems {
if (main_menu.isSearchOpen) {
getCurrentFragment()?.onSearchQueryChanged(main_menu.getCurrentQuery())
}
}
}
}
fun cacheContacts(contacts: List<Contact>) {
try {
cachedContacts.clear()