Skip to content
Snippets Groups Projects
Commit 9cb21fae authored by Oliver Wiese's avatar Oliver Wiese
Browse files

clean code

parent 78c38629
No related branches found
No related tags found
1 merge request!84Resolve "Missing backend features/connections for UI"
......@@ -211,7 +211,6 @@ struct LoginAdvancedSection: View{
ForEach(0..<encryptionOptions.count) { i in
Text(self.encryptionOptions[i]).tag(i)
.onTapGesture {
print("Tap!")
if !s {
self.imapEncryption = i
} else {
......
......@@ -130,7 +130,6 @@ struct RecipientField: View {
// and Bcc fields getting collapsed again despite the
// first recipient clearly getting rendered as a blue
// capsule in the ForEach loop above. 🤔🤔🤔
print(model.selectedContacts.count)
}
.frame(width: 200) // TODO: Stretch dynamically over available horizontal space
.autocapitalization(.none) // .frame(maxWidth: .infinity) somehow doesn't work
......
......@@ -140,12 +140,7 @@ struct SecurityBriefingView<M: DisplayMail>: View {
}
func choseAction (action: ButtonAction) {
/* TODO guard let coord = AppDelegate.getAppDelegate().readViewCoordinator else {
print("No coordinator!")
return
}
coord.makeAction(action: action)
*/}
}
struct WarningView: View {
......@@ -205,11 +200,6 @@ struct WarningView: View {
}
func choseAction (action: ButtonAction) {
/* TODO guard let coord = AppDelegate.getAppDelegate().readViewCoordinator else {
print("No coordinator!")
return
}
coord.makeAction(action: action) */
}
}
......
......@@ -156,11 +156,7 @@ struct SenderViewMain <M: DisplayMail>: View {
}
private func goToContact(contact: M.C) {
/* guard let con = contact.keyRecord else {
print("No record...")
return
}
AppDelegate.getAppDelegate().readViewCoordinator?.pushContactView(contact: con) */
// Tbd...
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment