chore: Format, b=(no-bug), c=common

This commit is contained in:
mr. m
2025-05-13 10:39:47 +02:00
parent 4947b4c9a3
commit 561da4b6ef
2 changed files with 2 additions and 2 deletions

View File

@@ -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];

View File

@@ -1,8 +1,8 @@
FINAL_LIBRARY = "xul"
SOURCES += [
"ZenShareInternal.mm",
"ZenHapticFeedback.mm",
"ZenShareInternal.mm",
]
LOCAL_INCLUDES += [