From 620bfaae2bc5d452d787e690c25853a07f55500b Mon Sep 17 00:00:00 2001 From: "Pfeil, Scott Robert" Date: Thu, 2 Jul 2020 16:29:17 -0400 Subject: [PATCH] action fix for tab bar --- MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.h | 3 +++ MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.m | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.h b/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.h index 9644557..26afbe2 100644 --- a/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.h +++ b/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.h @@ -93,6 +93,9 @@ extern NSString * _Nonnull const KeyActionTypeOpen; #pragma mark - Default Action Protocol Functions +// Currently no default log action but this will eventually be server driven. ++ (void)defaultLogAction:(nullable NSDictionary *)actionInformation additionalData:(nullable NSDictionary *)additionalData delegateObject:(nullable DelegateObject *)delegateObject; + // Sends the request to the load handler. + (void)defaultHandleOpenPageForRequestParameters:(nonnull MVMCoreRequestParameters *)requestParameters additionalData:(nullable NSDictionary *)additionalData delegateObject:(nullable DelegateObject *)delegateObject; diff --git a/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.m b/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.m index 8eff939..7867991 100644 --- a/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.m +++ b/MVMCore/MVMCore/ActionHandling/MVMCoreActionHandler.m @@ -110,7 +110,7 @@ NSString * const KeyActionTypeOpen = @"openPage"; if ([delegateObject.actionDelegate respondsToSelector:@selector(logActionWithActionInformation:additionalData:)]) { [delegateObject.actionDelegate logActionWithActionInformation:actionInformation additionalData:additionalData]; } else { - [MVMCoreActionHandler defaultLogAction:actionInformation additionalData:additionalData delegateObject:delegateObject]; + [[self class] defaultLogAction:actionInformation additionalData:additionalData delegateObject:delegateObject]; } }