diff --git a/app/build.gradle b/app/build.gradle index 9576e4a6..a674cabb 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -14,7 +14,7 @@ android { defaultConfig { applicationId "com.simplemobiletools.contacts.pro" - minSdkVersion 21 + minSdkVersion 23 targetSdkVersion 33 versionCode 99 versionName "6.21.2" @@ -63,7 +63,7 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:5fa7001d27' + implementation 'com.github.SimpleMobileTools:Simple-Commons:afb485c357' implementation 'com.googlecode.ez-vcard:ez-vcard:0.11.3' implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61' implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 1f095ae8..267864ed 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -39,6 +39,7 @@ @@ -74,11 +76,13 @@ @@ -157,6 +162,7 @@ @@ -197,12 +203,14 @@ diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/MainActivity.kt index f7d24bed..ad124878 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/MainActivity.kt @@ -180,6 +180,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener { findItem(R.id.sort).isVisible = currentFragment != groups_fragment findItem(R.id.filter).isVisible = currentFragment != groups_fragment findItem(R.id.dialpad).isVisible = !config.showDialpadButton + findItem(R.id.more_apps_from_us).isVisible = !resources.getBoolean(R.bool.hide_google_relations) } } @@ -192,6 +193,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener { R.id.dialpad -> launchDialpad() R.id.import_contacts -> tryImportContacts() R.id.export_contacts -> tryExportContacts() + R.id.more_apps_from_us -> launchMoreAppsFromUsIntent() R.id.settings -> launchSettings() R.id.about -> launchAbout() else -> return@setOnMenuItemClickListener false diff --git a/app/src/main/res/menu/menu.xml b/app/src/main/res/menu/menu.xml index b6cc8341..f1b96d8a 100644 --- a/app/src/main/res/menu/menu.xml +++ b/app/src/main/res/menu/menu.xml @@ -34,6 +34,11 @@ android:showAsAction="never" android:title="@string/export_contacts_to_vcf" app:showAsAction="never" /> +