Enable the User Status feature on supported homeservers. (#6059)

* Remove the user status feature flag.

* Handle User Status in tests.
This commit is contained in:
Doug
2026-08-24 11:00:31 +01:00
committed by GitHub
parent 1ba090b914
commit 84556c0672
16 changed files with 32 additions and 41 deletions
@@ -23,7 +23,7 @@ struct SettingsScreen: View {
Form {
userSection
if context.viewState.showUserStatus {
if context.viewState.showUserStatusInput {
userStatusSection
}
@@ -291,12 +291,16 @@ struct SettingsScreen_Previews: PreviewProvider, TestablePreview {
SettingsScreen(context: viewModel.context)
}
.snapshotPreferences(expect: viewModel.context.observe(\.viewState.accountProfileURL).map { $0 != nil })
.frame(height: 1100)
.previewLayout(.sizeThatFits)
.previewDisplayName("Default")
ElementNavigationStack {
SettingsScreen(context: bugReportDisabledViewModel.context)
}
.snapshotPreferences(expect: bugReportDisabledViewModel.context.observe(\.viewState.accountProfileURL).map { $0 != nil })
.frame(height: 1050)
.previewLayout(.sizeThatFits)
.previewDisplayName("Bug report disabled")
}