mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
home screen toolbar doesn't show glass padding
This commit is contained in:
committed by
Stefan Ceriu
parent
2de50ab036
commit
bc95be16d6
@@ -22,7 +22,14 @@ struct HomeScreen: View {
|
|||||||
actions: leaveRoomAlertActions,
|
actions: leaveRoomAlertActions,
|
||||||
message: leaveRoomAlertMessage)
|
message: leaveRoomAlertMessage)
|
||||||
.navigationTitle(L10n.screenRoomlistMainSpaceTitle)
|
.navigationTitle(L10n.screenRoomlistMainSpaceTitle)
|
||||||
.toolbar { toolbar }
|
.toolbar {
|
||||||
|
if #available(iOS 26, *) {
|
||||||
|
toolbar
|
||||||
|
.sharedBackgroundVisibility(.hidden)
|
||||||
|
} else {
|
||||||
|
toolbar
|
||||||
|
}
|
||||||
|
}
|
||||||
.background(Color.compound.bgCanvasDefault.ignoresSafeArea())
|
.background(Color.compound.bgCanvasDefault.ignoresSafeArea())
|
||||||
.track(screen: .Home)
|
.track(screen: .Home)
|
||||||
.bloom()
|
.bloom()
|
||||||
|
|||||||
Reference in New Issue
Block a user