Merge branch 'develop' into alfogrillo/learn_more_sheet

This commit is contained in:
Alfonso Grillo
2022-11-03 17:29:01 +01:00
9 changed files with 83 additions and 79 deletions
@@ -76,18 +76,12 @@ struct UserSessionOverview: View {
}
.accessibilityIdentifier(VectorL10n.manageSessionRename)
}
if #available(iOS 15, *) {
Button(role: .destructive) { viewModel.send(viewAction: .logoutOfSession) } label: {
Label(VectorL10n.signOut, systemImage: "rectangle.portrait.and.arrow.right.fill")
}
.accessibilityIdentifier(VectorL10n.signOut)
} else {
Button { viewModel.send(viewAction: .logoutOfSession) } label: {
Label(VectorL10n.signOut, systemImage: "rectangle.righthalf.inset.fill.arrow.right")
}
.accessibilityIdentifier(VectorL10n.signOut)
DestructiveButton {
viewModel.send(viewAction: .logoutOfSession)
} label: {
Label(VectorL10n.signOut, systemImage: "rectangle.portrait.and.arrow.right.fill")
}
.accessibilityIdentifier(VectorL10n.signOut)
} label: {
Image(systemName: "ellipsis")
.foregroundColor(theme.colors.secondaryContent)