From 23b5a1d0eb7d75d5797738455bd2a20d039b8407 Mon Sep 17 00:00:00 2001 From: tibbi Date: Sun, 25 Jul 2021 17:30:42 +0200 Subject: [PATCH] moving call confirmation fully to Commons --- app/build.gradle | 2 +- .../com/simplemobiletools/contacts/pro/helpers/Config.kt | 4 ---- .../com/simplemobiletools/contacts/pro/helpers/Constants.kt | 1 - 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 0f4c3400..71e4ed71 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -56,7 +56,7 @@ android { } dependencies { - implementation 'com.github.SimpleMobileTools:Simple-Commons:addc442133' + implementation 'com.github.SimpleMobileTools:Simple-Commons:11c7236fdb' implementation 'joda-time:joda-time:2.10.3' implementation 'com.googlecode.ez-vcard:ez-vcard:0.10.5' implementation 'com.github.tibbi:IndicatorFastScroll:c3de1d040a' diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/Config.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/Config.kt index 4a2e34e3..e177179e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/Config.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/Config.kt @@ -41,10 +41,6 @@ class Config(context: Context) : BaseConfig(context) { get() = prefs.getInt(SHOW_TABS, ALL_TABS_MASK) set(showTabs) = prefs.edit().putInt(SHOW_TABS, showTabs).apply() - var showCallConfirmation: Boolean - get() = prefs.getBoolean(SHOW_CALL_CONFIRMATION, false) - set(showCallConfirmation) = prefs.edit().putBoolean(SHOW_CALL_CONFIRMATION, showCallConfirmation).apply() - var showDialpadButton: Boolean get() = prefs.getBoolean(SHOW_DIALPAD_BUTTON, true) set(showDialpadButton) = prefs.edit().putBoolean(SHOW_DIALPAD_BUTTON, showDialpadButton).apply() diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/Constants.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/Constants.kt index cf14d5f6..101af93e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/Constants.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/Constants.kt @@ -16,7 +16,6 @@ const val LAST_USED_CONTACT_SOURCE = "last_used_contact_source" const val ON_CONTACT_CLICK = "on_contact_click" const val SHOW_CONTACT_FIELDS = "show_contact_fields" const val SHOW_TABS = "show_tabs" -const val SHOW_CALL_CONFIRMATION = "show_call_confirmation" const val SHOW_DIALPAD_BUTTON = "show_dialpad_button" const val SPEED_DIAL = "speed_dial" const val LAST_EXPORT_PATH = "last_export_path"