diff --git a/enzevalos_iphone/SwiftUI/Read/ReadViewCoordinator.swift b/enzevalos_iphone/SwiftUI/Read/ReadViewCoordinator.swift index c51807cc3da9994038539dc93acdbca4469a9b3c..5a79de55ba41d4428ff236f0f70d3fdfca9cb957 100644 --- a/enzevalos_iphone/SwiftUI/Read/ReadViewCoordinator.swift +++ b/enzevalos_iphone/SwiftUI/Read/ReadViewCoordinator.swift @@ -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) } diff --git a/enzevalos_iphone/SwiftUI/Read/Tabbed Views/SecurityBriefingView.swift b/enzevalos_iphone/SwiftUI/Read/Tabbed Views/SecurityBriefingView.swift index 4cd807bd7d904ab721b901be58642243732e2a74..0e136d1fed57331bc632df64fbd0a7f055a37964 100644 --- a/enzevalos_iphone/SwiftUI/Read/Tabbed Views/SecurityBriefingView.swift +++ b/enzevalos_iphone/SwiftUI/Read/Tabbed Views/SecurityBriefingView.swift @@ -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)