This commit is contained in:
Pfeil, Scott Robert 2020-08-10 14:45:54 -04:00
parent d63ae9b403
commit 9f84958602

View File

@ -50,11 +50,9 @@ NSUInteger const TopAlertDismissTime = 5;
self.useNewStyle = [responseInfo boolForKey:@"newTopAlertStyle"];
// Server driven dismiss time.
if (self.useNewStyle) {
NSNumber *topAlertTime = [responseInfo optionalNumberForKey:@"topAlertTime"];
if (topAlertTime != nil) {
self.topAlertDismissTime = [topAlertTime integerValue];
}
NSNumber *topAlertTime = [responseInfo optionalNumberForKey:@"topAlertTime"];
if (topAlertTime != nil) {
self.topAlertDismissTime = [topAlertTime integerValue];
}
}
return self;