Skip to content

Commit 8970b1f

Browse files
committed
removing location_dialpad, it isnt available anymore
1 parent f359e41 commit 8970b1f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

app/src/main/kotlin/com/simplemobiletools/contacts/pro/adapters/ContactsAdapter.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,6 @@ class ContactsAdapter(activity: SimpleActivity, var contactItems: ArrayList<Cont
6969
findItem(R.id.cab_send_sms_to_contacts).isVisible = location == LOCATION_CONTACTS_TAB || location == LOCATION_FAVORITES_TAB || location == LOCATION_GROUP_CONTACTS
7070
findItem(R.id.cab_send_email_to_contacts).isVisible = location == LOCATION_CONTACTS_TAB || location == LOCATION_FAVORITES_TAB || location == LOCATION_GROUP_CONTACTS
7171
findItem(R.id.cab_delete).isVisible = location == LOCATION_CONTACTS_TAB || location == LOCATION_GROUP_CONTACTS
72-
findItem(R.id.cab_select_all).isVisible = location != LOCATION_DIALPAD
73-
findItem(R.id.cab_share).isVisible = location != LOCATION_DIALPAD
7472
findItem(R.id.cab_create_shortcut).isVisible = isOreoPlus() && isOneItemSelected() && (location == LOCATION_FAVORITES_TAB || location == LOCATION_CONTACTS_TAB)
7573

7674
if (location == LOCATION_GROUP_CONTACTS) {

app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/Constants.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ const val KEY_MAILTO = "mailto"
3939
const val LOCATION_CONTACTS_TAB = 0
4040
const val LOCATION_FAVORITES_TAB = 1
4141
const val LOCATION_GROUP_CONTACTS = 2
42-
const val LOCATION_DIALPAD = 3
43-
const val LOCATION_INSERT_OR_EDIT = 4
42+
const val LOCATION_INSERT_OR_EDIT = 3
4443

4544
const val ALL_TABS_MASK = TAB_CONTACTS or TAB_FAVORITES or TAB_GROUPS
4645

0 commit comments

Comments
 (0)