about summary refs log tree commit diff
path: root/MatrixUtils.Desktop
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--MatrixUtils.Desktop/MainWindow.axaml.cs4
1 files changed, 1 insertions, 3 deletions
diff --git a/MatrixUtils.Desktop/MainWindow.axaml.cs b/MatrixUtils.Desktop/MainWindow.axaml.cs
index 562ab1a..9c783e4 100644
--- a/MatrixUtils.Desktop/MainWindow.axaml.cs
+++ b/MatrixUtils.Desktop/MainWindow.axaml.cs
@@ -42,9 +42,7 @@ public partial class MainWindow : Window {
             // roomList.Children.Add(new RoomListEntry(_scopeFactory, new RoomInfo(room)));
 
             windowContent.Push("home", new RoomListEntry() {
-                Room = new RoomInfo() {
-                    Room = room
-                }
+                Room = new RoomInfo(room)
             });
             base.OnLoaded(e);
         }