From 35da51bc7497172ebfd2560ca7008eabc96a2bf6 Mon Sep 17 00:00:00 2001 From: "Suresh, Kamlesh" Date: Sat, 6 Oct 2018 15:05:37 -0400 Subject: [PATCH] button map --- MVMCore/MVMCore/LoadHandling/MVMCoreLoadObject.m | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadObject.m b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadObject.m index e9127c2..6b98642 100644 --- a/MVMCore/MVMCore/LoadHandling/MVMCoreLoadObject.m +++ b/MVMCore/MVMCore/LoadHandling/MVMCoreLoadObject.m @@ -19,11 +19,15 @@ self.pageJSON = pageJSON; self.modulesJSON = modulesJSON; - self.buttonMap = [pageJSON dictionaryForKey:@"ButtonMap"]; + //self.buttonMap = [pageJSON dictionaryForKey:@"ButtonMap"]; } return self; } +- (NSDictionary *) buttonMap { + return [self.pageJSON dictionaryForKey:@"ButtonMap"]; +} + - (nullable instancetype)initWithRequestParameters:(nullable MVMCoreRequestParameters *)requestParameters dataForPage:(nullable NSDictionary *)dataForPage delegate:(nullable NSObject*)delegate { if (self = [self initWithDelegate:delegate]) { self.requestParameters = requestParameters;