As Per Scott Comment Updated Key to hide chat icon as per legacy
As Per Scott Comment Updated Key to hide chat icon as per legacy
This commit is contained in:
parent
3eaf765655
commit
d2a13626b6
@ -532,7 +532,7 @@ import MVMCore
|
||||
|
||||
public func isRightPanelAccessible() -> Bool {
|
||||
// TODO: Remove when FAB is 100%.
|
||||
if loadObject?.pageJSON?.boolForKey(KeyHideMainMenu) ?? false {
|
||||
if loadObject?.pageJSON?.boolForKey(KeyHideChatSupport) ?? false {
|
||||
return false
|
||||
}
|
||||
return (MVMCoreUISession.sharedGlobal()?.launchAppLoadedSuccessfully ?? false) || showRightPanelForScreenBeforeLaunchApp()
|
||||
|
||||
@ -26,6 +26,7 @@ extern NSString * const KeyEnabled;
|
||||
extern NSString * const KeyFieldName;
|
||||
|
||||
extern NSString * const KeyHideMainMenu;
|
||||
extern NSString * const KeyHideChatSupport;
|
||||
extern NSString * const KeyProgressPercent;
|
||||
|
||||
extern NSString * const KeyPrimaryButton;
|
||||
|
||||
@ -27,6 +27,7 @@ NSString * const KeyFieldKey = @"fieldKey";
|
||||
NSString * const KeyRequired = @"required";
|
||||
|
||||
NSString * const KeyHideMainMenu = @"hideMainMenu";
|
||||
NSString * const KeyHideChatSupport = @"hideChatSupport";
|
||||
NSString * const KeyProgressPercent = @"progressPercent";
|
||||
|
||||
NSString * const KeyPrimaryButton = @"PrimaryButton";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user