Skip to content

Commit

Permalink
Fixes #3144 - Stop showing filters when the room list is not in the `…
Browse files Browse the repository at this point in the history
…rooms` display mode
  • Loading branch information
stefanceriu committed Aug 13, 2024
1 parent 5e36811 commit 5eda85a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ElementX/Sources/Screens/HomeScreen/HomeScreenModels.swift
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ struct HomeScreenViewState: BindableState {
}

var shouldShowFilters: Bool {
!bindings.isSearchFieldFocused
!bindings.isSearchFieldFocused && roomListMode == .rooms
}

var shouldShowRecoveryKeyConfirmationBanner: Bool {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5eda85a

Please sign in to comment.