diff --git a/AppBox/Info.plist b/AppBox/Info.plist index ed73b901..a81d6180 100644 --- a/AppBox/Info.plist +++ b/AppBox/Info.plist @@ -17,7 +17,7 @@ CFBundlePackageType APPL CFBundleShortVersionString - 0.6 + 0.7 CFBundleSignature ???? CFBundleURLTypes diff --git a/AppBox/ViewController/HomeViewController/HomeViewController.m b/AppBox/ViewController/HomeViewController/HomeViewController.m index 2710883d..8f587085 100644 --- a/AppBox/ViewController/HomeViewController/HomeViewController.m +++ b/AppBox/ViewController/HomeViewController/HomeViewController.m @@ -47,9 +47,9 @@ - (void)viewDidLoad { - (IBAction)buttonLinkWithDropboxTapped:(NSButton *)sender { if ([[DBSession sharedSession] isLinked]) { // The link button turns into an unlink button when you're linked -// [[DBSession sharedSession] unlinkAll]; -// restClient = nil; - [self performSegueWithIdentifier:@"ShowDashboard" sender:sender]; + [[DBSession sharedSession] unlinkAll]; + restClient = nil; +// [self performSegueWithIdentifier:@"ShowDashboard" sender:sender]; [self updateDropBoxLinkButton]; } else { [[DBAuthHelperOSX sharedHelper] authenticate]; @@ -203,7 +203,7 @@ - (DBRestClient *)restClient { - (void)updateDropBoxLinkButton{ if ([[DBSession sharedSession] isLinked]) { buttonSelectIPAFile.enabled = YES; - buttonLinkWithDropbox.title = @"Dashboard"; + buttonLinkWithDropbox.title = @"Unlink Dropbox"; [self restClient]; } else { buttonSelectIPAFile.enabled = NO;