From a268c60ceafafe911f3e560a1169e9325a256045 Mon Sep 17 00:00:00 2001 From: gucio321 Date: Wed, 18 Oct 2023 23:43:15 +0200 Subject: [PATCH] macos: use right function name --- mainthread_mac.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mainthread_mac.go b/mainthread_mac.go index 14448510..793dd76f 100644 --- a/mainthread_mac.go +++ b/mainthread_mac.go @@ -5,6 +5,6 @@ package giu import "golang.design/x/hotkey/mainthread" -func mainthreadCall(c func()) { - mainthread.init(c) +func mainthreadCallPlatform(c func()) { + mainthread.Call(c) }