diff --git a/src/zen/toolkit/common/cocoa/ZenHapticFeedback.mm b/src/zen/toolkit/common/cocoa/ZenHapticFeedback.mm index 58397a881..e9ef4156e 100644 --- a/src/zen/toolkit/common/cocoa/ZenHapticFeedback.mm +++ b/src/zen/toolkit/common/cocoa/ZenHapticFeedback.mm @@ -33,7 +33,7 @@ inline UIImpactFeedbackStyle GetNativeHapticFeedbackType(uint32_t type) { nsresult ZenCommonUtils::PlayHapticFeedbackInternal(uint32_t type) { NS_OBJC_BEGIN_TRY_BLOCK_RETURN; auto style = GetNativeHapticFeedbackType(type); - if (@available(iOS 10.0, macOS 10.14, *)) { + if (@available(macOS 10.14, *)) { UIImpactFeedbackGenerator *generator = [[UIImpactFeedbackGenerator alloc] initWithStyle:style]; [generator prepare]; [generator impactOccurred]; diff --git a/src/zen/toolkit/common/cocoa/moz.build b/src/zen/toolkit/common/cocoa/moz.build index 1746d17db..bb46c31f1 100644 --- a/src/zen/toolkit/common/cocoa/moz.build +++ b/src/zen/toolkit/common/cocoa/moz.build @@ -1,8 +1,8 @@ FINAL_LIBRARY = "xul" SOURCES += [ - "ZenShareInternal.mm", "ZenHapticFeedback.mm", + "ZenShareInternal.mm", ] LOCAL_INCLUDES += [