mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-24 05:55:39 +03:00
enforce not null
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
156a845b16
commit
ad60de30c6
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ class ContactAddressBookWorker(val context: Context, workerParameters: WorkerPar
|
|||
val deviceContactsWithNumbers = collectContactsWithPhoneNumbersFromDevice()
|
||||
|
||||
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>()
|
||||
map["location"] = currentLocale
|
||||
|
|
Loading…
Reference in a new issue