diff --git a/linphone-app/ui/views/App/Main/Dialogs/NewChatRoom.qml b/linphone-app/ui/views/App/Main/Dialogs/NewChatRoom.qml
index 9e339de9c..c3c0c44fe 100644
--- a/linphone-app/ui/views/App/Main/Dialogs/NewChatRoom.qml
+++ b/linphone-app/ui/views/App/Main/Dialogs/NewChatRoom.qml
@@ -90,7 +90,7 @@ DialogPlus {
Layout.fillWidth: true
Layout.topMargin:15
spacing:4
- visible: SettingsModel.secureChatEnabled
+ visible: SettingsModel.secureChatEnabled && SettingsModel.standardChatEnabled
Text {
Layout.fillWidth: true
//: 'Would you like to encrypt your chat?' : Ask about setting the chat room as secured.
@@ -157,13 +157,24 @@ DialogPlus {
ColumnLayout {
Layout.fillWidth: true
spacing:10
- Text{
- textFormat: Text.RichText
- //: 'Subject' : Label of a text field about the subject of the chat room
- text :qsTr('subjectLabel') +'*'
- color: NewChatRoomStyle.subjectTitleColor
- font.pointSize: Units.dp * 11
- font.weight: Font.DemiBold
+ RowLayout{
+ Icon{
+ id:defaultSecure
+ Layout.alignment: Qt.AlignCenter
+ Layout.preferredHeight: visible? 20 : 0
+ Layout.preferredWidth: visible? 20 : 0
+ icon: 'secure_on'
+ iconSize:20
+ visible: SettingsModel.secureChatEnabled && !SettingsModel.standardChatEnabled
+ }
+ Text{
+ textFormat: Text.RichText
+ //: 'Subject' : Label of a text field about the subject of the chat room
+ text :qsTr('subjectLabel') +'*'
+ color: NewChatRoomStyle.subjectTitleColor
+ font.pointSize: Units.dp * 11
+ font.weight: Font.DemiBold
+ }
}
TextField {
id:subject