mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:02:10 +00:00
Updated Bottom Sheet message string (#3743)
* updated bottom sheet string * updated pseudo language tests
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user