mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-11 13:59:13 +00:00
Possible fix for filters view sticking in the middle of the room list (#2570)
This commit is contained in:
parent
1c914c314f
commit
c001b65353
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user