Skip to content

Commit

Permalink
Fix "Auto Update" state wrong.
Browse files Browse the repository at this point in the history
  • Loading branch information
zekunyan committed Sep 4, 2016
1 parent cb58ff8 commit 2d6cd22
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions TTGBingWallPaper/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,6 @@ class AppDelegate: NSObject, NSApplicationDelegate {
@IBOutlet weak var window: NSWindow!

func applicationDidFinishLaunching(aNotification: NSNotification) {
// Setup UI
configStatusButton()
configMenuItems()

// Setup
WallPaperSevice.sharedInstance.setup()

Expand All @@ -34,6 +30,10 @@ class AppDelegate: NSObject, NSApplicationDelegate {

// Check if need update
WallPaperSevice.sharedInstance.checkIfNeedUpdateWallPaper()

// Setup UI
configStatusButton()
configMenuItems()
}

// MARK: Config
Expand Down
2 changes: 1 addition & 1 deletion TTGBingWallPaper/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>0.2.0</string>
<string>0.2.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down

0 comments on commit 2d6cd22

Please sign in to comment.