From 8c436075d8ab6445172c06a4363c3d0330931494 Mon Sep 17 00:00:00 2001 From: Jan Bidler Date: Thu, 25 Aug 2022 11:00:08 +0200 Subject: [PATCH] Changes room access into radio buttons --- imports/NeoChat/RoomSettings/Security.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/imports/NeoChat/RoomSettings/Security.qml b/imports/NeoChat/RoomSettings/Security.qml index e81d1fbc6..cbe2d8013 100644 --- a/imports/NeoChat/RoomSettings/Security.qml +++ b/imports/NeoChat/RoomSettings/Security.qml @@ -22,7 +22,7 @@ Kirigami.ScrollablePage { Kirigami.FormLayout { Layout.fillWidth: true - CheckBox { + RadioButton { text: i18nc("@option:check", "Private (invite only)") Kirigami.FormData.label: i18nc("@option:check", "Access:") checked: room.joinRule === "invite" @@ -32,7 +32,7 @@ Kirigami.ScrollablePage { text: i18n("Only invited people can join.") font: Kirigami.Theme.smallFont } - CheckBox { + RadioButton { text: i18nc("@option:check", "Space members") checked: room.joinRule === "restricted" enabled: false @@ -41,7 +41,7 @@ Kirigami.ScrollablePage { text: i18n("Anyone in a space can find and join.") font: Kirigami.Theme.smallFont } - CheckBox { + RadioButton { text: i18nc("@option:check", "Public") checked: room.joinRule === "public" enabled: false