Skip to content

Commit

Permalink
Merge pull request #658 from alexp84/master
Browse files Browse the repository at this point in the history
IOS-441: App loses session when editing menu items (Regression)
  • Loading branch information
Mike Hatfield committed Jan 22, 2016
2 parents d9ccff6 + 2f0dda7 commit ad8231e
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,10 @@ - (void)viewDidDisappear:(BOOL)animated

// Only need to post a notifictaion informing the app if the current account order has been modified
if ([AccountManager sharedManager].selectedAccount == self.account)
{
[[NSNotificationCenter defaultCenter] postNotificationName:kAlfrescoConfigShouldUpdateMainMenuNotification object:self.mainMenuBuilder];
}
else
{
[[NSNotificationCenter defaultCenter] postNotificationName:kAlfrescoConfigFileDidUpdateNotification object:self.mainMenuBuilder];
}
Expand Down

0 comments on commit ad8231e

Please sign in to comment.