Skip to content

Commit

Permalink
Possible fix for filters view sticking in the middle of the room list (
Browse files Browse the repository at this point in the history
  • Loading branch information
Velin92 authored Mar 13, 2024
1 parent 1c914c3 commit c001b65
Showing 1 changed file with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,13 @@ struct HomeScreenContent: View {
VStack(spacing: 0) {
if !context.isSearchFieldFocused {
filters
.frame(alignment: .top)
}

switch context.viewState.securityBannerMode {
case .sessionVerification:
if context.viewState.securityBannerMode == .sessionVerification {
HomeScreenSessionVerificationBanner(context: context)
case .recoveryKeyConfirmation:
} else if context.viewState.securityBannerMode == .recoveryKeyConfirmation {
HomeScreenRecoveryKeyConfirmationBanner(context: context)
default:
EmptyView()
}

if context.viewState.hasPendingInvitations, !context.isSearchFieldFocused {
Expand Down

0 comments on commit c001b65

Please sign in to comment.