Updated Bottom Sheet message string (#3743)

* updated bottom sheet string

* updated pseudo language tests
This commit is contained in:
Mauro
2025-02-07 10:08:10 +01:00
committed by GitHub
parent d374fb63e0
commit b9e6a3328f
6 changed files with 18 additions and 16 deletions
@@ -19,11 +19,13 @@ struct SendInviteConfirmationView: View {
private let topPadding: CGFloat = 24
private var subtitle: String {
let string: String
if let displayName = userToInvite.displayName {
L10n.screenBottomSheetCreateDmMessage(displayName, userToInvite.userID)
string = L10n.commonNameAndId(displayName, userToInvite.userID)
} else {
L10n.screenBottomSheetCreateDmMessageNoDisplayname(userToInvite.userID)
string = userToInvite.userID
}
return L10n.screenBottomSheetCreateDmMessage(string)
}
var body: some View {