From 670bf0e09e6e4e2db65b80f853576237bc7df274 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B8rgen=20Henrichsen?= Date: Sun, 28 Oct 2018 12:42:21 +0100 Subject: [PATCH] Made enable(disable commands internal --- .../RemoteCommandController/RemoteCommandController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SwiftAudio/Classes/RemoteCommandController/RemoteCommandController.swift b/SwiftAudio/Classes/RemoteCommandController/RemoteCommandController.swift index cb9f978..5840d33 100644 --- a/SwiftAudio/Classes/RemoteCommandController/RemoteCommandController.swift +++ b/SwiftAudio/Classes/RemoteCommandController/RemoteCommandController.swift @@ -29,14 +29,14 @@ public class RemoteCommandController { self.center = remoteCommandCenter } - private func enable(commands: [RemoteCommand]) { + internal func enable(commands: [RemoteCommand]) { self.disable(commands: RemoteCommand.all()) commands.forEach { (command) in self.enable(command: command) } } - private func disable(commands: [RemoteCommand]) { + internal func disable(commands: [RemoteCommand]) { commands.forEach { (command) in self.disable(command: command) }