Add UI tests

This commit is contained in:
Alfonso Grillo
2022-10-26 18:49:47 +02:00
parent d26c919f80
commit 9336079cf2
6 changed files with 65 additions and 22 deletions
@@ -31,9 +31,9 @@ struct UserSessionName: View {
.toolbar { toolbar }
.accentColor(theme.colors.accent)
.bottomSheet(isPresented: $viewModel.showBottomSheet) {
InfoView(title: VectorL10n.userSessionRenameSessionTitle,
description: VectorL10n.userSessionRenameSessionDescription,
action: .init(text: VectorL10n.userSessionGotIt, action: { viewModel.showBottomSheet = false }))
InfoSheet(title: VectorL10n.userSessionRenameSessionTitle,
description: VectorL10n.userSessionRenameSessionDescription,
action: .init(text: VectorL10n.userSessionGotIt, action: { viewModel.showBottomSheet = false }))
}
}