Merge branch 'bugfix/remove_no_page_error' into 'develop'
Review changes See merge request BPHV_MIPS/mvm_core_ui!628
This commit is contained in:
commit
773410168c
@ -36,7 +36,7 @@ public extension MVMCoreUITopAlertView {
|
|||||||
|
|
||||||
// Show any new top alert.
|
// Show any new top alert.
|
||||||
guard let responseJSON = loadObject.responseJSON,
|
guard let responseJSON = loadObject.responseJSON,
|
||||||
let json = responseJSON.optionalDictionaryForKey("TopNotification"),
|
let json = responseJSON.optionalDictionaryForKey(KeyTopAlert),
|
||||||
let model = decodeTopNotification(with: json, delegateObject: getDelegateObject()) else { return }
|
let model = decodeTopNotification(with: json, delegateObject: getDelegateObject()) else { return }
|
||||||
showTopAlert(with: model)
|
showTopAlert(with: model)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -49,6 +49,9 @@ extern NSString * const KeyActionTypeAlert;
|
|||||||
extern NSString * const KeyActionTypeTopAlert;
|
extern NSString * const KeyActionTypeTopAlert;
|
||||||
extern NSString * const KeyActionTypeCollapseNotification;
|
extern NSString * const KeyActionTypeCollapseNotification;
|
||||||
|
|
||||||
|
/// Key for molecular top notification architecture.
|
||||||
|
extern NSString * const KeyTopAlert;
|
||||||
|
|
||||||
#pragma mark - Values
|
#pragma mark - Values
|
||||||
|
|
||||||
extern NSString * const StringY;
|
extern NSString * const StringY;
|
||||||
|
|||||||
@ -47,6 +47,8 @@ NSString * const KeyActionTypeAlert = @"alert";
|
|||||||
NSString * const KeyActionTypeTopAlert = @"topAlert";
|
NSString * const KeyActionTypeTopAlert = @"topAlert";
|
||||||
NSString * const KeyActionTypeCollapseNotification = @"collapseNotification";
|
NSString * const KeyActionTypeCollapseNotification = @"collapseNotification";
|
||||||
|
|
||||||
|
NSString * const KeyTopAlert = @"TopNotification";
|
||||||
|
|
||||||
#pragma mark - Values
|
#pragma mark - Values
|
||||||
|
|
||||||
NSString * const StringY = @"Y";
|
NSString * const StringY = @"Y";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user