Skip to content

Commit

Permalink
Merge pull request #16 from zenangst/fix/mail-appearance-bug
Browse files Browse the repository at this point in the history
Fix bug with Mail not changing appearance.
  • Loading branch information
zenangst authored Oct 1, 2018
2 parents 968371f + 606d870 commit bf07c8f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Sources/Applications/ApplicationsLogicController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,11 @@ class ApplicationsLogicController {
var resolvedAppPreferenceUrl = appPreferenceUrl
var applicationPlist: NSDictionary? = nil

if let plist = NSDictionary.init(contentsOfFile: appPreferenceUrl.path) {
applicationPlist = plist
} else if let plist = NSDictionary.init(contentsOfFile: appContainerPreferenceUrl.path) {
if let plist = NSDictionary.init(contentsOfFile: appContainerPreferenceUrl.path) {
applicationPlist = plist
resolvedAppPreferenceUrl = appContainerPreferenceUrl
} else if let plist = NSDictionary.init(contentsOfFile: appPreferenceUrl.path) {
applicationPlist = plist
}

guard let resolvedPlist = applicationPlist else { continue }
Expand Down

0 comments on commit bf07c8f

Please sign in to comment.