mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 20:39:24 +00:00
Hide the space filters button when not part of any spaces
Also automatically dismiss a selected filter if no longer available i.e. the space has been left.
This commit is contained in:
committed by
Stefan Ceriu
parent
944731257e
commit
26060dde3a
@@ -66,7 +66,7 @@ struct HomeScreen: View {
|
||||
}
|
||||
}
|
||||
|
||||
if context.viewState.spaceFiltersEnabled {
|
||||
if context.viewState.spaceFiltersEnabled, context.viewState.shouldShowSpaceFilters {
|
||||
if #available(iOS 26, *) {
|
||||
ToolbarSpacer(.fixed, placement: .primaryAction)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user