mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 16:10:20 +00:00
Empty spaces list screen (#4936)
* Added an FF to create spaces + empty spaces list state * removed learn more button and improved spacing * updated toolbar for chats and spaces to match ios 26 designs
This commit is contained in:
@@ -40,9 +40,13 @@ struct HomeScreen: View {
|
||||
.backportSharedBackgroundVisibility(.hidden)
|
||||
|
||||
ToolbarItem(placement: .primaryAction) {
|
||||
newRoomButton
|
||||
if #available(iOS 26, *) {
|
||||
newRoomButton
|
||||
} else {
|
||||
newRoomButton
|
||||
.buttonStyle(.compound(.super, size: .toolbarIcon))
|
||||
}
|
||||
}
|
||||
.backportSharedBackgroundVisibility(.hidden)
|
||||
}
|
||||
|
||||
private var settingsButton: some View {
|
||||
@@ -71,7 +75,6 @@ struct HomeScreen: View {
|
||||
} label: {
|
||||
CompoundIcon(\.plus)
|
||||
}
|
||||
.buttonStyle(.compound(.super, size: .toolbarIcon))
|
||||
.accessibilityLabel(L10n.actionStartChat)
|
||||
.accessibilityIdentifier(A11yIdentifiers.homeScreen.startChat)
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user