From 8b095310ea15ccc8c20d743c366718864760d1cb Mon Sep 17 00:00:00 2001 From: Spotlight Date: Thu, 2 Jun 2022 01:16:58 -0500 Subject: [PATCH] Resolve delegate callback --- Ongaku/ViewController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ongaku/ViewController.swift b/Ongaku/ViewController.swift index aa45749..2f610de 100644 --- a/Ongaku/ViewController.swift +++ b/Ongaku/ViewController.swift @@ -45,7 +45,7 @@ class ViewController: NSViewController, SwordRPCDelegate { rpc.connect() } - func rpcDidConnect() { + func rpcDidConnect(_ _: SwordRPC) { log.notice("Connected to Discord RPC.") DispatchQueue.main.async {