Merge branch 'develop' of gitlab.verizon.com:BPHV_MIPS/mvm_core into develop
This commit is contained in:
commit
588b80bc06
@ -449,8 +449,10 @@ NSString * const KeyActionTypeOpen = @"openPage";
|
|||||||
if (!error.silentError) {
|
if (!error.silentError) {
|
||||||
|
|
||||||
// Show alert
|
// Show alert
|
||||||
MVMCoreAlertObject *alertObject = [[MVMCoreAlertObject alloc] initPopupAlertWithError:error isGreedy:NO];
|
[MVMCoreDispatchUtility performBlockOnMainThread:^{
|
||||||
[[MVMCoreAlertHandler sharedAlertHandler] showAlertWithAlertObject:alertObject];
|
MVMCoreAlertObject *alertObject = [[MVMCoreAlertObject alloc] initPopupAlertWithError:error isGreedy:NO];
|
||||||
|
[[MVMCoreAlertHandler sharedAlertHandler] showAlertWithAlertObject:alertObject];
|
||||||
|
}];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -50,11 +50,9 @@ NSUInteger const TopAlertDismissTime = 5;
|
|||||||
self.useNewStyle = [responseInfo boolForKey:@"newTopAlertStyle"];
|
self.useNewStyle = [responseInfo boolForKey:@"newTopAlertStyle"];
|
||||||
|
|
||||||
// Server driven dismiss time.
|
// Server driven dismiss time.
|
||||||
if (self.useNewStyle) {
|
NSNumber *topAlertTime = [responseInfo optionalNumberForKey:@"topAlertTime"];
|
||||||
NSNumber *topAlertTime = [responseInfo optionalNumberForKey:@"topAlertTime"];
|
if (topAlertTime != nil) {
|
||||||
if (topAlertTime != nil) {
|
self.topAlertDismissTime = [topAlertTime integerValue];
|
||||||
self.topAlertDismissTime = [topAlertTime integerValue];
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return self;
|
return self;
|
||||||
|
|||||||
@ -57,8 +57,9 @@
|
|||||||
self.domain = domain;
|
self.domain = domain;
|
||||||
self.location = location;
|
self.location = location;
|
||||||
self.date = [NSDate date];
|
self.date = [NSDate date];
|
||||||
self.applicationState = [UIApplication sharedApplication].applicationState;
|
[MVMCoreDispatchUtility performSyncBlockOnMainThread:^{
|
||||||
|
self.applicationState = [UIApplication sharedApplication].applicationState;
|
||||||
|
}];
|
||||||
// We don't log server errors.
|
// We don't log server errors.
|
||||||
if (![domain isEqualToString:ErrorDomainServer]) {
|
if (![domain isEqualToString:ErrorDomainServer]) {
|
||||||
self.logError = YES;
|
self.logError = YES;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user