mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +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) {
|
VStack(spacing: 0) {
|
||||||
if !context.isSearchFieldFocused {
|
if !context.isSearchFieldFocused {
|
||||||
filters
|
filters
|
||||||
|
.frame(alignment: .top)
|
||||||
}
|
}
|
||||||
|
|
||||||
switch context.viewState.securityBannerMode {
|
if context.viewState.securityBannerMode == .sessionVerification {
|
||||||
case .sessionVerification:
|
|
||||||
HomeScreenSessionVerificationBanner(context: context)
|
HomeScreenSessionVerificationBanner(context: context)
|
||||||
case .recoveryKeyConfirmation:
|
} else if context.viewState.securityBannerMode == .recoveryKeyConfirmation {
|
||||||
HomeScreenRecoveryKeyConfirmationBanner(context: context)
|
HomeScreenRecoveryKeyConfirmationBanner(context: context)
|
||||||
default:
|
|
||||||
EmptyView()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if context.viewState.hasPendingInvitations, !context.isSearchFieldFocused {
|
if context.viewState.hasPendingInvitations, !context.isSearchFieldFocused {
|
||||||
|
|||||||
Reference in New Issue
Block a user