home screen toolbar doesn't show glass padding

This commit is contained in:
Mauro Romito
2025-09-09 18:13:51 +02:00
committed by Stefan Ceriu
parent 2de50ab036
commit bc95be16d6
@@ -22,7 +22,14 @@ struct HomeScreen: View {
actions: leaveRoomAlertActions,
message: leaveRoomAlertMessage)
.navigationTitle(L10n.screenRoomlistMainSpaceTitle)
.toolbar { toolbar }
.toolbar {
if #available(iOS 26, *) {
toolbar
.sharedBackgroundVisibility(.hidden)
} else {
toolbar
}
}
.background(Color.compound.bgCanvasDefault.ignoresSafeArea())
.track(screen: .Home)
.bloom()