summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorJedi18 <targetakhil@gmail.com>2021-02-11 21:23:33 +0530
committerJedi18 <targetakhil@gmail.com>2021-02-11 21:23:33 +0530
commit473b14ed0f8053348000db370451cfff3ce3ac13 (patch)
tree2fdeb499a5e34ac0b8f40fa00f7b4293e061f444 /resources
parentadded notifications and encryption for the new roomsettings (diff)
downloadnheko-473b14ed0f8053348000db370451cfff3ce3ac13.tar.xz
added roomversion, roomid etc
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/RoomSettings.qml9
1 files changed, 4 insertions, 5 deletions
diff --git a/resources/qml/RoomSettings.qml b/resources/qml/RoomSettings.qml
index 4b03e08b..ee824ba0 100644
--- a/resources/qml/RoomSettings.qml
+++ b/resources/qml/RoomSettings.qml
@@ -17,7 +17,6 @@ ApplicationWindow {
     minimumHeight: 420
     palette: colors
     color: colors.window
-    title: roomSettings.roomName
     modality: Qt.WindowModal
     flags: Qt.WindowStaysOnTopHint
 
@@ -46,13 +45,13 @@ ApplicationWindow {
             Layout.alignment: Qt.AlignHCenter
 
             MatrixText {
-                text: "room name"
+                text: roomSettings.roomName
                 font.pixelSize: 24
                 Layout.alignment: Qt.AlignHCenter
             }
 
             MatrixText {
-                text: "1 member"
+                text: "%1 member(s)".arg(roomSettings.memberCount)
                 Layout.alignment: Qt.AlignHCenter
             }
         }
@@ -185,7 +184,7 @@ ApplicationWindow {
             }
 
             MatrixText {
-                text: "asdajdhasjkdhaskjdhasjdks"
+                text: roomSettings.roomId
                 font.pixelSize: 12
             }
         }
@@ -200,7 +199,7 @@ ApplicationWindow {
             }
 
             MatrixText {
-                text: "6"
+                text: roomSettings.roomVersion
                 font.pixelSize: 12
             }
         }