Added translation strings

This commit is contained in:
Aleksandrs Proskurins
2022-09-26 13:37:21 +03:00
parent 6fc2d397d9
commit ba1e6af9eb
3 changed files with 20 additions and 2 deletions
@@ -39,14 +39,16 @@ struct UserSessionOverview: View {
})
.padding(16)
SwiftUI.Section {
UserSessionOverviewDisclosureCell(title: "Session details", onBackgroundTap: {
UserSessionOverviewDisclosureCell(title: VectorL10n.userSessionOverviewSessionDetailsButtonTitle, onBackgroundTap: {
viewModel.send(viewAction: .viewSessionDetails)
})
}
}
.background(theme.colors.system.ignoresSafeArea())
.frame(maxHeight: .infinity)
.navigationTitle(viewModel.viewState.isCurrentSession ? "Current session" : "Session")
.navigationTitle(viewModel.viewState.isCurrentSession ?
VectorL10n.userSessionOverviewCurrentSessionTitle :
VectorL10n.userSessionOverviewSessionTitle)
}
}