From 2561046c4088ab92d59a2298e946f76cabc65a73 Mon Sep 17 00:00:00 2001 From: Justin Beharry Date: Mon, 8 Aug 2022 14:57:14 -0400 Subject: change andButton initializer to softButtons for remote control --- Example Apps/Example ObjC/ProxyManager.m | 2 +- Example Apps/Example ObjC/RemoteControlManager.h | 2 +- Example Apps/Example ObjC/RemoteControlManager.m | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Example Apps') diff --git a/Example Apps/Example ObjC/ProxyManager.m b/Example Apps/Example ObjC/ProxyManager.m index 0c8db3b33..15c7ff283 100644 --- a/Example Apps/Example ObjC/ProxyManager.m +++ b/Example Apps/Example ObjC/ProxyManager.m @@ -71,7 +71,7 @@ NS_ASSUME_NONNULL_BEGIN self.performManager = [[PerformInteractionManager alloc] initWithManager:self.sdlManager]; self.buttonManager = [[ButtonManager alloc] initWithManager:self.sdlManager refreshUIHandler:self.refreshUIHandler]; self.subscribeButtonManager = [[SubscribeButtonManager alloc] initWithManager:self.sdlManager]; - self.remoteControlManager = [[RemoteControlManager alloc] initWithManager:self.sdlManager andButtons:[self.buttonManager allScreenSoftButtons]]; + self.remoteControlManager = [[RemoteControlManager alloc] initWithManager:self.sdlManager softButtons:[self.buttonManager allScreenSoftButtons]]; [weakSelf sdlex_updateProxyState:ProxyStateConnected]; [RPCPermissionsManager setupPermissionsCallbacksWithManager:weakSelf.sdlManager]; diff --git a/Example Apps/Example ObjC/RemoteControlManager.h b/Example Apps/Example ObjC/RemoteControlManager.h index 382b19bcd..a81e0aea0 100644 --- a/Example Apps/Example ObjC/RemoteControlManager.h +++ b/Example Apps/Example ObjC/RemoteControlManager.h @@ -18,7 +18,7 @@ NS_ASSUME_NONNULL_BEGIN @property (copy, nonatomic, readonly) NSString *climateDataString; - (instancetype)init NS_UNAVAILABLE; -- (instancetype)initWithManager:(SDLManager *)manager andButtons:(NSArray *)buttons; +- (instancetype)initWithManager:(SDLManager *)manager softButtons:(NSArray *)buttons; - (void)start; - (void)showClimateControl; diff --git a/Example Apps/Example ObjC/RemoteControlManager.m b/Example Apps/Example ObjC/RemoteControlManager.m index 212bb2cc7..0eb3a3cd1 100644 --- a/Example Apps/Example ObjC/RemoteControlManager.m +++ b/Example Apps/Example ObjC/RemoteControlManager.m @@ -26,7 +26,7 @@ @implementation RemoteControlManager -- (instancetype)initWithManager:(SDLManager *)manager andButtons:(NSArray *)buttons { +- (instancetype)initWithManager:(SDLManager *)manager softButtons:(NSArray *)buttons { self = [super init]; if (!self) { return nil; -- cgit v1.2.1