mirror of
https://github.com/SimpleMobileTools/Simple-Dialer.git
synced 2025-02-23 06:47:45 +01:00
fixes
This commit is contained in:
parent
76c7d4762a
commit
a885c7a84f
@ -59,14 +59,12 @@ class FavoritesFragment(context: Context, attributeSet: AttributeSet) : MyViewPa
|
|||||||
allContacts.sort()
|
allContacts.sort()
|
||||||
}
|
}
|
||||||
|
|
||||||
val sorted = if (activity!!.config.isCustomOrderSelected) {
|
if (activity!!.config.isCustomOrderSelected) {
|
||||||
sortByCustomOrder(contacts)
|
allContacts = sortByCustomOrder(allContacts)
|
||||||
} else {
|
|
||||||
contacts
|
|
||||||
}
|
}
|
||||||
|
|
||||||
activity?.runOnUiThread {
|
activity?.runOnUiThread {
|
||||||
gotContacts(sorted)
|
gotContacts(allContacts)
|
||||||
callback?.invoke()
|
callback?.invoke()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user