Added translation strings, cleanup

This commit is contained in:
Aleksandrs Proskurins
2022-10-04 10:07:04 +03:00
parent 0cfceb4c5e
commit 2fa3c69bf4
10 changed files with 30 additions and 27 deletions
@@ -40,7 +40,9 @@ enum MockUserOtherSessionsScreenState: MockScreenState, CaseIterable {
/// Generate the view struct for the screen state.
var screenView: ([Any], AnyView) {
let viewModel = UserOtherSessionsViewModel(sessions: inactiveSessions(), filter: .inactive, title: "Security recommendation")
let viewModel = UserOtherSessionsViewModel(sessions: inactiveSessions(),
filter: .inactive,
title: VectorL10n.userOtherSessionSecurityRecommendationTitle)
// can simulate service and viewModel actions here if needs be.