Fixed gitlab release build
This commit is contained in:
parent
251057b293
commit
ce6644dbee
2 changed files with 3 additions and 2 deletions
|
@ -59,9 +59,10 @@ abstract class AbstractPhoneViewModel(val accountCreator: AccountCreator) : View
|
|||
Log.i("[Assistant] Found prefix from dial plan: ${dialPlan.countryCallingCode}")
|
||||
prefix.value = "+${dialPlan.countryCallingCode}"
|
||||
}
|
||||
|
||||
if (number != null) {
|
||||
Log.i("[Assistant] Found phone number: $number")
|
||||
phoneNumber.value = number
|
||||
phoneNumber.value = number!!
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -68,7 +68,7 @@ class ContactEditorViewModel(val c: Contact?) : ViewModel(), ContactViewModelInt
|
|||
var syncAccountType: String? = null
|
||||
|
||||
init {
|
||||
contact.value = c
|
||||
if (c != null) contact.value = c!!
|
||||
firstName.value = c?.firstName ?: ""
|
||||
lastName.value = c?.lastName ?: ""
|
||||
organization.value = c?.organization ?: ""
|
||||
|
|
Loading…
Reference in a new issue