Commit f92d39fe authored by Oliver Wiese's avatar Oliver Wiese

fix localization bug

parent bda1cc54
......@@ -155,6 +155,7 @@ class ReadViewCoordinator {
func askSenderToConfirm <M: DisplayMail>(mail: M) {
let to = [mail.sender.findAddress(temp: false)]
print(mail.sender.findAddress(temp: false).mailAddress)
let body = NSLocalizedString("didYouSendThis", comment: "Did you sent this mail?") + "\n"+preparePreviousMailBody(mail: mail)
pushComposeView(to: to, cc: [], bcc: [], subject: mail.subject, body: body, responseType: .Reply)
}
......
......@@ -95,8 +95,6 @@ struct SecurityBriefingView<M: DisplayMail>: View {
Text(self.mail.buttonActions[index].title)
.frame(maxWidth: .infinity, minHeight: 50, maxHeight: 50)
.addBorder(self.mail.buttonActions[index].color, width: 1, cornerRadius: 30)
// .foregroundColor(.white)
//.background(RoundedCorners(color: self.mail.buttonActions[index].color, radius: 30))
.padding(.vertical, 10)
.padding(.horizontal, 20)
})
......@@ -239,7 +237,7 @@ struct DialogButtonLabel: View {
}
var body: some View {
Text(data.titleKey)
Text(data.title)
.frame(maxWidth: .infinity, minHeight: 20, maxHeight: 20)
.padding(10)
.addBorder(color, width: 1, cornerRadius: 30)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment