updating commons

This commit is contained in:
tibbi
2023-05-07 18:51:21 +02:00
parent 5a9de64ccd
commit 74b228d147
3 changed files with 3 additions and 3 deletions

View File

@@ -62,7 +62,7 @@ android {
}
dependencies {
implementation 'com.github.SimpleMobileTools:Simple-Commons:ee2e127758'
implementation 'com.github.SimpleMobileTools:Simple-Commons:dfe84c0ee2'
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
implementation 'me.grantland:autofittextview:0.2.1'
}

View File

@@ -144,7 +144,6 @@ class DialpadActivity : SimpleActivity() {
gotContacts(allContacts)
}
val properPrimaryColor = getProperPrimaryColor()
val callIconId = if (areMultipleSIMsAvailable()) {
val callIcon = resources.getColoredDrawableWithColor(R.drawable.ic_phone_two_vector, properPrimaryColor.getContrastColor())

View File

@@ -17,6 +17,7 @@ import android.widget.Toast
import androidx.viewpager.widget.ViewPager
import com.google.android.material.snackbar.Snackbar
import com.simplemobiletools.commons.dialogs.ConfirmationDialog
import com.simplemobiletools.commons.dialogs.PermissionRequiredDialog
import com.simplemobiletools.commons.extensions.*
import com.simplemobiletools.commons.helpers.*
import com.simplemobiletools.commons.models.FAQItem
@@ -73,7 +74,7 @@ class MainActivity : SimpleActivity() {
handleNotificationPermission { granted ->
if (!granted) {
toast(R.string.no_post_notifications_permissions)
PermissionRequiredDialog(this, R.string.allow_notifications_incoming_calls)
}
}
} else {