UpdatedKeyToHideRightPanel

UpdatedKeyToHideRightPanel
This commit is contained in:
Naresh 2024-02-28 10:19:51 +05:30
parent d2a13626b6
commit 5537961ddf
3 changed files with 3 additions and 3 deletions

View File

@ -532,7 +532,7 @@ import MVMCore
public func isRightPanelAccessible() -> Bool {
// TODO: Remove when FAB is 100%.
if loadObject?.pageJSON?.boolForKey(KeyHideChatSupport) ?? false {
if loadObject?.pageJSON?.boolForKey(KeyHideRightPanel) ?? false {
return false
}
return (MVMCoreUISession.sharedGlobal()?.launchAppLoadedSuccessfully ?? false) || showRightPanelForScreenBeforeLaunchApp()

View File

@ -26,7 +26,7 @@ extern NSString * const KeyEnabled;
extern NSString * const KeyFieldName;
extern NSString * const KeyHideMainMenu;
extern NSString * const KeyHideChatSupport;
extern NSString * const KeyHideRightPanel;
extern NSString * const KeyProgressPercent;
extern NSString * const KeyPrimaryButton;

View File

@ -27,7 +27,7 @@ NSString * const KeyFieldKey = @"fieldKey";
NSString * const KeyRequired = @"required";
NSString * const KeyHideMainMenu = @"hideMainMenu";
NSString * const KeyHideChatSupport = @"hideChatSupport";
NSString * const KeyHideRightPanel = @"hideRightPanel";
NSString * const KeyProgressPercent = @"progressPercent";
NSString * const KeyPrimaryButton = @"PrimaryButton";