From 2dc39d1862e8ee2a7d5ae5ed74fe5a420d7a300f Mon Sep 17 00:00:00 2001 From: FischLu Date: Sat, 2 Nov 2024 23:26:41 +0100 Subject: [PATCH] Optimize code formatting. --- src/gui/osutils/macutils/AppKitImpl.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gui/osutils/macutils/AppKitImpl.mm b/src/gui/osutils/macutils/AppKitImpl.mm index 8e62354c7d..5092790d88 100644 --- a/src/gui/osutils/macutils/AppKitImpl.mm +++ b/src/gui/osutils/macutils/AppKitImpl.mm @@ -22,6 +22,7 @@ #if __clang_major__ >= 13 && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_VERSION_12_3 #import #endif + @implementation AppKitImpl - (id) initWithObject:(AppKit*)appkit @@ -183,7 +184,7 @@ - (bool) enableAccessibility // // Check if screen recording is enabled, may show an popup asking for permissions // -- (bool)enableScreenRecording +- (bool) enableScreenRecording { #if __clang_major__ >= 13 && MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_VERSION_12_3 __block BOOL hasPermission = NO;