mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-05-03 22:56:49 +00:00
fix(AccountStatus): remove presence choice if rls uri is disabled
This commit is contained in:
parent
f243c7c8e7
commit
11260c147c
3 changed files with 5 additions and 2 deletions
|
|
@ -32,7 +32,7 @@ Item {
|
|||
|
||||
PresenceLevel {
|
||||
anchors.fill: parent
|
||||
level: OwnPresenceModel.presenceLevel
|
||||
level: SettingsModel.rlsUriEnabled ? OwnPresenceModel.presenceLevel : Presence.Green
|
||||
visible: AccountSettingsModel.registrationState === AccountSettingsModel.RegistrationStateRegistered
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ DialogPlus {
|
|||
centeredButtons: true
|
||||
objectName: '__manageAccounts'
|
||||
|
||||
height: ManageAccountsStyle.height
|
||||
height: SettingsModel.rlsUriEnabled ? ManageAccountsStyle.height : ManageAccountsStyle.heightWithoutPresence
|
||||
width: ManageAccountsStyle.width
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
|
|
@ -30,6 +30,8 @@ DialogPlus {
|
|||
orientation: Qt.Vertical
|
||||
|
||||
FormLine {
|
||||
visible: SettingsModel.rlsUriEnabled
|
||||
|
||||
FormGroup {
|
||||
label: qsTr('selectPresenceLabel')
|
||||
|
||||
|
|
|
|||
|
|
@ -5,5 +5,6 @@ import QtQml 2.2
|
|||
|
||||
QtObject {
|
||||
property int height: 234
|
||||
property int heightWithoutPresence: 165
|
||||
property int width: 450
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue