Closes #347: Show a message that system is unable to determine which site to connect

This commit is contained in:
Patrick Santana 2013-11-21 11:25:09 -08:00
parent 1c3716e4f7
commit e814487f19

View file

@ -170,7 +170,11 @@
dispatch_async(dispatch_get_main_queue(), ^{
if ([accounts count] == 1){
if ([accounts count] == 0){
// there is a problem. Users needs to contact support
PhotoAlertView *alert = [[PhotoAlertView alloc] initWithMessage:NSLocalizedString(@"Unable to determine which site connect.",@"")];
[alert showAlert];
}else if ([accounts count] == 1){
// save the details of account and remove the progress
Account *account =[accounts objectAtIndex:0];