mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-10-31 16:24:11 +00:00
Possible fix for filters view sticking in the middle of the room list (#2570)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user