From 5537961ddfb9757a0779eb6e6964c4d84e266082 Mon Sep 17 00:00:00 2001 From: Naresh Date: Wed, 28 Feb 2024 10:19:51 +0530 Subject: [PATCH] UpdatedKeyToHideRightPanel UpdatedKeyToHideRightPanel --- MVMCoreUI/BaseControllers/ViewController.swift | 2 +- MVMCoreUI/Utility/MVMCoreUIConstants.h | 2 +- MVMCoreUI/Utility/MVMCoreUIConstants.m | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/MVMCoreUI/BaseControllers/ViewController.swift b/MVMCoreUI/BaseControllers/ViewController.swift index 8eb0737a..ad554901 100644 --- a/MVMCoreUI/BaseControllers/ViewController.swift +++ b/MVMCoreUI/BaseControllers/ViewController.swift @@ -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() diff --git a/MVMCoreUI/Utility/MVMCoreUIConstants.h b/MVMCoreUI/Utility/MVMCoreUIConstants.h index f7c3ba0a..020c9e17 100644 --- a/MVMCoreUI/Utility/MVMCoreUIConstants.h +++ b/MVMCoreUI/Utility/MVMCoreUIConstants.h @@ -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; diff --git a/MVMCoreUI/Utility/MVMCoreUIConstants.m b/MVMCoreUI/Utility/MVMCoreUIConstants.m index 87a979c0..bee0a8b9 100644 --- a/MVMCoreUI/Utility/MVMCoreUIConstants.m +++ b/MVMCoreUI/Utility/MVMCoreUIConstants.m @@ -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";