Commit 11260c14 authored by Ronan's avatar Ronan

fix(AccountStatus): remove presence choice if rls uri is disabled

parent f243c7c8
......@@ -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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment