mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
Migrate to viewbinding and kotlin gradle scripts
- Replaced kotlinx sythetic with viewbinding - Update build scripts to kotlin - Intoduced version catalog, similar to Commons - Updated kotlin from 1.7.10 to 1.9.0 - Updated room from 2.5.2 to 2.6.0-alpha02 (same as Commons) - Updated Android Gradle Plugin to 8.1.0
This commit is contained in:
@ -59,7 +59,7 @@ fun BaseSimpleActivity.shareContacts(contacts: ArrayList<Contact>) {
|
||||
|
||||
val file = getTempFile(filename)
|
||||
if (file == null) {
|
||||
toast(R.string.unknown_error_occurred)
|
||||
toast(com.simplemobiletools.commons.R.string.unknown_error_occurred)
|
||||
return
|
||||
}
|
||||
|
||||
@ -89,7 +89,7 @@ fun SimpleActivity.callContact(contact: Contact) {
|
||||
if (contact.phoneNumbers.isNotEmpty()) {
|
||||
tryInitiateCall(contact) { startCallIntent(it) }
|
||||
} else {
|
||||
toast(R.string.no_phone_number_found)
|
||||
toast(com.simplemobiletools.commons.R.string.no_phone_number_found)
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user