Closes #347: Show a message that system is unable to determine which site to connect
This commit is contained in:
parent
1c3716e4f7
commit
e814487f19
1 changed files with 5 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue