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())
|
||||
|
||||
Contact.sorting = config.sorting
|
||||
Contact.startWithSurname = config.startNameWithSurname
|
||||
groupContacts.sort()
|
||||
|
||||
updateContacts(groupContacts)
|
||||
|
|
|
@ -103,6 +103,7 @@ class SelectContactActivity : SimpleActivity() {
|
|||
}
|
||||
|
||||
Contact.sorting = config.sorting
|
||||
Contact.startWithSurname = config.startNameWithSurname
|
||||
contacts.sort()
|
||||
|
||||
runOnUiThread {
|
||||
|
|
|
@ -29,6 +29,7 @@ class SelectContactsDialog(val activity: SimpleActivity, initialContacts: ArrayL
|
|||
}
|
||||
|
||||
Contact.sorting = activity.config.sorting
|
||||
Contact.startWithSurname = activity.config.startNameWithSurname
|
||||
allContacts.sort()
|
||||
|
||||
activity.runOnUiThread {
|
||||
|
|
|
@ -92,6 +92,7 @@ abstract class MyViewPagerFragment(context: Context, attributeSet: AttributeSet)
|
|||
}
|
||||
|
||||
Contact.sorting = config.sorting
|
||||
Contact.startWithSurname = config.startNameWithSurname
|
||||
contacts.sort()
|
||||
allContacts = contacts
|
||||
|
||||
|
|
Loading…
Reference in New Issue