Kaynağa Gözat

Show server name in tray main window
Signed-off-by: Alkl58 <alkl58@protonmail.com>

alkl58 2 yıl önce
ebeveyn
işleme
1e37697152
1 değiştirilmiş dosya ile 10 ekleme ve 0 silme
  1. 10 0
      src/gui/tray/Window.qml

+ 10 - 0
src/gui/tray/Window.qml

@@ -523,6 +523,16 @@ ApplicationWindow {
                                 font.bold: true
                             }
 
+                            EnforcedPlainTextLabel {
+                                id: currentAccountServer
+                                Layout.alignment: Qt.AlignLeft | Qt.AlignBottom
+                                width: Style.currentAccountLabelWidth
+                                text: UserModel.currentUser.server
+                                elide: Text.ElideRight
+                                color: Style.currentUserHeaderTextColor
+                                visible: UserModel.numUsers() > 1
+                            }
+
                             RowLayout {
                                 id: currentUserStatus
                                 visible: UserModel.currentUser.isConnected &&