Chatbot disable to BD users

This commit is contained in:
Chintakrinda, Arun Kumar (Arun) 2020-01-09 18:24:18 +05:30
parent f0c7fbcb9e
commit 0ca77eadc2
2 changed files with 4 additions and 1 deletions

View File

@ -146,7 +146,7 @@
// Avoid the setter so we are only setting the bool and wait for view will appear to update the navigation bar.
_masterShouldBeAccessible = [self isMasterInitiallyAccessible];
_supportShouldBeAccessible = [self isSupportInitiallyAccessible];
_supportShouldBeAccessible = ![MVMCoreUISession sharedGlobal].disableSupport && [self isSupportInitiallyAccessible];
// Observe for cache updates if desired.
[self observeForResponseJSONUpdates];

View File

@ -31,6 +31,9 @@ NS_ASSUME_NONNULL_BEGIN
//indicates if the app launched successfully
@property (assign, nonatomic) BOOL launchAppLoadedSuccessfully;
//indicates if support is enabled
@property (assign, nonatomic) BOOL disableSupport;
// Allows a global overload of the title view of navigation item.
- (nullable UIView *)titleViewForController:(nonnull MFViewController *)controller;