summaryrefslogtreecommitdiff
path: root/Juick
diff options
context:
space:
mode:
Diffstat (limited to 'Juick')
-rw-r--r--Juick/User.m6
1 files changed, 5 insertions, 1 deletions
diff --git a/Juick/User.m b/Juick/User.m
index e1bef3a..97f4232 100644
--- a/Juick/User.m
+++ b/Juick/User.m
@@ -8,6 +8,7 @@
#import "User.h"
#import "PDKeychainBindings.h"
+#import "SIAlertView.h"
@implementation User
@@ -16,7 +17,10 @@
}
+(void) throwUnableToLogin {
- UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Error" message:@"Unable to login, check username/password, or network connectivity" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
+ SIAlertView *alert = [[SIAlertView alloc] initWithTitle:@"Error" andMessage:@"Unable to login, check username/password, or network connectivity"];
+ [alert addButtonWithTitle:@"OK" type:SIAlertViewButtonTypeCancel handler:^(SIAlertView *alertView) {
+ // <#code#>
+ }];
[alert show];
}