fix #764, fetch nicknames on the main screen too to make it searchable

This commit is contained in:
tibbi 2022-01-03 20:24:59 +01:00
parent abcbc35e4f
commit a87fb2e5ca

View File

@ -258,6 +258,13 @@ class ContactsHelper(val context: Context) {
contacts[key]?.notes = notes.valueAt(i)
}
val nicknames = getNicknames()
size = nicknames.size()
for (i in 0 until size) {
val key = nicknames.keyAt(i)
contacts[key]?.nickname = nicknames.valueAt(i)
}
val websites = getWebsites()
size = websites.size()
for (i in 0 until size) {