removing location_dialpad, it isnt available anymore
This commit is contained in:
parent
f359e41ed3
commit
8970b1f746
|
@ -69,8 +69,6 @@ class ContactsAdapter(activity: SimpleActivity, var contactItems: ArrayList<Cont
|
|||
findItem(R.id.cab_send_sms_to_contacts).isVisible = location == LOCATION_CONTACTS_TAB || location == LOCATION_FAVORITES_TAB || location == LOCATION_GROUP_CONTACTS
|
||||
findItem(R.id.cab_send_email_to_contacts).isVisible = location == LOCATION_CONTACTS_TAB || location == LOCATION_FAVORITES_TAB || location == LOCATION_GROUP_CONTACTS
|
||||
findItem(R.id.cab_delete).isVisible = location == LOCATION_CONTACTS_TAB || location == LOCATION_GROUP_CONTACTS
|
||||
findItem(R.id.cab_select_all).isVisible = location != LOCATION_DIALPAD
|
||||
findItem(R.id.cab_share).isVisible = location != LOCATION_DIALPAD
|
||||
findItem(R.id.cab_create_shortcut).isVisible = isOreoPlus() && isOneItemSelected() && (location == LOCATION_FAVORITES_TAB || location == LOCATION_CONTACTS_TAB)
|
||||
|
||||
if (location == LOCATION_GROUP_CONTACTS) {
|
||||
|
|
|
@ -39,8 +39,7 @@ const val KEY_MAILTO = "mailto"
|
|||
const val LOCATION_CONTACTS_TAB = 0
|
||||
const val LOCATION_FAVORITES_TAB = 1
|
||||
const val LOCATION_GROUP_CONTACTS = 2
|
||||
const val LOCATION_DIALPAD = 3
|
||||
const val LOCATION_INSERT_OR_EDIT = 4
|
||||
const val LOCATION_INSERT_OR_EDIT = 3
|
||||
|
||||
const val ALL_TABS_MASK = TAB_CONTACTS or TAB_FAVORITES or TAB_GROUPS
|
||||
|
||||
|
|
Loading…
Reference in New Issue