Skip to content

Commit

Permalink
Fix for removing external encryption on share extension.
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgeblacio committed Aug 14, 2019
1 parent c85d507 commit 76a521f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
2 changes: 1 addition & 1 deletion NotificationExtension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>1.1.16</string>
<string>1.1.17</string>
<key>CFBundleVersion</key>
<string>2</string>
<key>NSExtension</key>
Expand Down
2 changes: 1 addition & 1 deletion ShareExtension/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>XPC!</string>
<key>CFBundleShortVersionString</key>
<string>1.1.16</string>
<string>1.1.17</string>
<key>CFBundleVersion</key>
<string>2</string>
<key>NSExtension</key>
Expand Down
6 changes: 0 additions & 6 deletions ShareExtension/ShareViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -307,12 +307,6 @@ extension ShareViewController {
let draftEmail = saveDraft()
self.emailDraft = draftEmail

let containsNonCriptextEmail = draftEmail.getContacts(type: .to).contains(where: {!$0.email.contains(Env.domain)}) || draftEmail.getContacts(type: .cc).contains(where: {!$0.email.contains(Env.domain)}) || draftEmail.getContacts(type: .bcc).contains(where: {!$0.email.contains(Env.domain)})

guard !containsNonCriptextEmail else {
presentPopover()
return
}
updateAndMail()
}

Expand Down
2 changes: 1 addition & 1 deletion iOS-Email-Client/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.1.16</string>
<string>1.1.17</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
Expand Down

0 comments on commit 76a521f

Please sign in to comment.