mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-20 03:59:35 +01:00
enforce not null
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
156a845b16
commit
ad60de30c6
@ -118,7 +118,7 @@ class ContactAddressBookWorker(val context: Context, workerParameters: WorkerPar
|
|||||||
val deviceContactsWithNumbers = collectContactsWithPhoneNumbersFromDevice()
|
val deviceContactsWithNumbers = collectContactsWithPhoneNumbersFromDevice()
|
||||||
|
|
||||||
if (deviceContactsWithNumbers.isNotEmpty()) {
|
if (deviceContactsWithNumbers.isNotEmpty()) {
|
||||||
val currentLocale = ConfigurationCompat.getLocales(context.resources.configuration)[0].country
|
val currentLocale = ConfigurationCompat.getLocales(context.resources.configuration)[0]!!.country
|
||||||
|
|
||||||
val map = mutableMapOf<String, Any>()
|
val map = mutableMapOf<String, Any>()
|
||||||
map["location"] = currentLocale
|
map["location"] = currentLocale
|
||||||
|
Loading…
Reference in New Issue
Block a user