mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-02-12 09:30:51 +01:00
updating commons
This commit is contained in:
parent
e226c66e16
commit
8e7f3581b4
@ -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"
|
||||
|
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user