fix #124, properly use "Start name with surname"
This commit is contained in:
parent
e999c3a275
commit
8c0ca77ed2
|
@ -67,6 +67,7 @@ class GroupContactsActivity : SimpleActivity(), RemoveFromGroupListener, Refresh
|
||||||
group_contacts_list.beVisibleIf(groupContacts.isNotEmpty())
|
group_contacts_list.beVisibleIf(groupContacts.isNotEmpty())
|
||||||
|
|
||||||
Contact.sorting = config.sorting
|
Contact.sorting = config.sorting
|
||||||
|
Contact.startWithSurname = config.startNameWithSurname
|
||||||
groupContacts.sort()
|
groupContacts.sort()
|
||||||
|
|
||||||
updateContacts(groupContacts)
|
updateContacts(groupContacts)
|
||||||
|
|
|
@ -103,6 +103,7 @@ class SelectContactActivity : SimpleActivity() {
|
||||||
}
|
}
|
||||||
|
|
||||||
Contact.sorting = config.sorting
|
Contact.sorting = config.sorting
|
||||||
|
Contact.startWithSurname = config.startNameWithSurname
|
||||||
contacts.sort()
|
contacts.sort()
|
||||||
|
|
||||||
runOnUiThread {
|
runOnUiThread {
|
||||||
|
|
|
@ -29,6 +29,7 @@ class SelectContactsDialog(val activity: SimpleActivity, initialContacts: ArrayL
|
||||||
}
|
}
|
||||||
|
|
||||||
Contact.sorting = activity.config.sorting
|
Contact.sorting = activity.config.sorting
|
||||||
|
Contact.startWithSurname = activity.config.startNameWithSurname
|
||||||
allContacts.sort()
|
allContacts.sort()
|
||||||
|
|
||||||
activity.runOnUiThread {
|
activity.runOnUiThread {
|
||||||
|
|
|
@ -92,6 +92,7 @@ abstract class MyViewPagerFragment(context: Context, attributeSet: AttributeSet)
|
||||||
}
|
}
|
||||||
|
|
||||||
Contact.sorting = config.sorting
|
Contact.sorting = config.sorting
|
||||||
|
Contact.startWithSurname = config.startNameWithSurname
|
||||||
contacts.sort()
|
contacts.sort()
|
||||||
allContacts = contacts
|
allContacts = contacts
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue