From 43bc4d7ae13c5642a3ecf259aef79ddf8b3e6639 Mon Sep 17 00:00:00 2001 From: Michael Starke Date: Thu, 4 Nov 2021 14:22:36 +0100 Subject: [PATCH] Removed API check since we are at least on macOS 10.13 --- MacPass/MPModifiedKey.m | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/MacPass/MPModifiedKey.m b/MacPass/MPModifiedKey.m index feb192c4..efddcfbd 100644 --- a/MacPass/MPModifiedKey.m +++ b/MacPass/MPModifiedKey.m @@ -28,12 +28,7 @@ uint16_t const kMPUnknownKeyCode = UINT16_MAX; - (MPModifiedKey)modifiedKeyValue { MPModifiedKey key; - if(@available(macOS 10.13, *)) { - [self getValue:&key size:sizeof(MPModifiedKey)]; - } - else { - [self getValue:&key]; - } + [self getValue:&key size:sizeof(MPModifiedKey)]; return key; }