mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 21:39:12 +00:00
Removed invites and feedback from the home menu (#2262)
This commit is contained in:
parent
0f13f186e4
commit
334d55aeaf
@ -33,7 +33,6 @@ enum HomeScreenViewModelAction {
|
||||
|
||||
enum HomeScreenViewUserMenuAction {
|
||||
case settings
|
||||
case feedback
|
||||
case logout
|
||||
}
|
||||
|
||||
|
@ -128,8 +128,6 @@ class HomeScreenViewModel: HomeScreenViewModelType, HomeScreenViewModelProtocol
|
||||
leaveRoom(roomId: roomIdentifier)
|
||||
case .userMenu(let action):
|
||||
switch action {
|
||||
case .feedback:
|
||||
actionsSubject.send(.presentFeedbackScreen)
|
||||
case .settings:
|
||||
actionsSubject.send(.presentSettingsScreen)
|
||||
case .logout:
|
||||
|
@ -37,18 +37,6 @@ struct HomeScreenUserMenuButton: View {
|
||||
}
|
||||
}
|
||||
.accessibilityIdentifier(A11yIdentifiers.homeScreen.settings)
|
||||
}
|
||||
Section {
|
||||
MatrixUserShareLink(userID: context.viewState.userID) {
|
||||
Label(L10n.actionInvite, iconAsset: Asset.Images.shareIos)
|
||||
}
|
||||
Button {
|
||||
context.send(viewAction: .userMenu(action: .feedback))
|
||||
} label: {
|
||||
Label(L10n.commonReportAProblem, icon: \.chatProblem)
|
||||
}
|
||||
}
|
||||
Section {
|
||||
Button(role: .destructive) {
|
||||
context.send(viewAction: .userMenu(action: .logout))
|
||||
} label: {
|
||||
|
1
changelog.d/2250.change
Normal file
1
changelog.d/2250.change
Normal file
@ -0,0 +1 @@
|
||||
Removed redundant options from the home menu.
|
Loading…
x
Reference in New Issue
Block a user