Added Unique Contact URI setting
This commit is contained in:
@ -24,6 +24,7 @@ class SettingsViewModel: ViewModel() {
|
||||
val verifyServer = MutableStateFlow(false)
|
||||
val caFile = MutableStateFlow(false)
|
||||
val userAgent = MutableStateFlow("")
|
||||
val uniqueContactUri = MutableStateFlow(true)
|
||||
val contactsMode = MutableStateFlow("")
|
||||
val ringtoneUri = MutableStateFlow("")
|
||||
val batteryOptimizations = MutableStateFlow(false)
|
||||
@ -62,6 +63,8 @@ class SettingsViewModel: ViewModel() {
|
||||
|
||||
userAgent.value = Config.variable("user_agent")
|
||||
|
||||
uniqueContactUri.value = Config.variable("sip_cuser_random") == "yes"
|
||||
|
||||
contactsMode.value = Config.variable("contacts_mode").lowercase()
|
||||
|
||||
ringtoneUri.value = if (Preferences(ctx).ringtoneUri == "")
|
||||
|
||||
Reference in New Issue
Block a user