mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-06-05 21:49:23 +02:00
updating commons
This commit is contained in:
@@ -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"
|
||||||
|
@@ -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 {
|
||||||
@@ -547,13 +548,14 @@ class MainActivity : SimpleActivity() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
recents_fragment?.refreshItems{
|
recents_fragment?.refreshItems {
|
||||||
if (main_menu.isSearchOpen) {
|
if (main_menu.isSearchOpen) {
|
||||||
getCurrentFragment()?.onSearchQueryChanged(main_menu.getCurrentQuery())
|
getCurrentFragment()?.onSearchQueryChanged(main_menu.getCurrentQuery())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fun cacheContacts(contacts: List<Contact>) {
|
fun cacheContacts(contacts: List<Contact>) {
|
||||||
try {
|
try {
|
||||||
cachedContacts.clear()
|
cachedContacts.clear()
|
||||||
|
Reference in New Issue
Block a user