From aef8d79104c6d26a6dd465d0bbf34c14750106a4 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Tue, 31 Mar 2026 15:44:54 +0300 Subject: [PATCH] Change the "open in new window" room list cell action underneath mark as read/unread and change its icon --- .../HomeScreen/View/HomeScreenRoomList.swift | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ElementX/Sources/Screens/HomeScreen/View/HomeScreenRoomList.swift b/ElementX/Sources/Screens/HomeScreen/View/HomeScreenRoomList.swift index 8660382c3..0a234fd3f 100644 --- a/ElementX/Sources/Screens/HomeScreen/View/HomeScreenRoomList.swift +++ b/ElementX/Sources/Screens/HomeScreen/View/HomeScreenRoomList.swift @@ -40,14 +40,6 @@ struct HomeScreenRoomList: View { context.send(viewAction: .detachRoom(roomIdentifier: room.id)) }) .contextMenu { - if supportsMultipleWindows { - Button { - context.send(viewAction: .detachRoom(roomIdentifier: room.id)) - } label: { - Label("Open in new window", icon: \.popOut) - } - } - if room.badges.isDotShown { Button { context.send(viewAction: .markRoomAsRead(roomIdentifier: room.id)) @@ -62,6 +54,14 @@ struct HomeScreenRoomList: View { } } + if supportsMultipleWindows { + Button { + context.send(viewAction: .detachRoom(roomIdentifier: room.id)) + } label: { + Label("Open in new window", icon: \.spotlight) + } + } + if room.isFavourite { Button { context.send(viewAction: .markRoomAsFavourite(roomIdentifier: room.id, isFavourite: false))