|
@@ -139,9 +139,9 @@
|
|
|
else if([type isEqualToString:@"clear_login"])
|
|
else if([type isEqualToString:@"clear_login"])
|
|
|
{
|
|
{
|
|
|
AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
|
|
AppDelegate *appDelegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
|
|
|
- NSString *msg = @"It will clear your account and password,are your sure?";
|
|
|
|
|
|
|
+ NSString *msg = @"Are you sure to clear saved login account and password?";
|
|
|
if (appDelegate.isLogin) {
|
|
if (appDelegate.isLogin) {
|
|
|
- msg = @"It will clear your account and password then logout,are your sure?";
|
|
|
|
|
|
|
+ msg = @"Are you sure to logout current account and clear login information?";
|
|
|
}
|
|
}
|
|
|
UIAlertController *alertVC = [UIAlertController alertControllerWithTitle:@"Warning" message:msg preferredStyle:UIAlertControllerStyleAlert];
|
|
UIAlertController *alertVC = [UIAlertController alertControllerWithTitle:@"Warning" message:msg preferredStyle:UIAlertControllerStyleAlert];
|
|
|
|
|
|