Merge pull request #42 in BPHVB/mvm_core from feature/vzup_top_alert to develop

* commit '90f849397d56f34aa2367a4b9bf7e0aaffa331e6':
  top alert above text image
This commit is contained in:
Sommer, Patrick 2018-12-12 11:36:32 -05:00
commit 34b589e481
2 changed files with 3 additions and 1 deletions

View File

@ -38,8 +38,9 @@ extern NSUInteger const TopAlertDismissTime;
// The page type used for the top alert
@property (nullable, strong, nonatomic) NSString *pageType;
// image name or url used when iconView is an image
// image name or url used imageviews
@property (nullable, strong, nonatomic) NSString *imageNameOrURL;
@property (nullable, strong, nonatomic) NSString *aboveTextImageString;
// If 0, uses default 5 seconds.
@property (nonatomic) NSInteger topAlertDismissTime;

View File

@ -28,6 +28,7 @@ NSUInteger const TopAlertDismissTime = 5;
self.buttonMap = [responseInfo dict:KeyButtonMap];
self.topMessage = [responseInfo string:KeyTopMessage];
self.imageNameOrURL = [responseInfo string:@"topAlertImageUrl"];
self.aboveTextImageString = [responseInfo string:@"topAlertImageURLAboveText"];
NSString *color = [responseInfo string:@"topAlertColor"];
if (color) {