fix: Fixed windows API build, b=(no-bug), c=tabs, common

This commit is contained in:
Mr. M
2025-05-13 10:37:36 +02:00
parent 4947b4c9a3
commit 3a8767ea5f
2 changed files with 2 additions and 1 deletions

View File

@@ -1075,6 +1075,7 @@
indicator.style.left = left;
indicator.style.removeProperty('top');
}
Services.zen.playHapticFeedback(/*soft*/3);
}
async onTabLabelChanged(tab) {

View File

@@ -107,7 +107,7 @@ nsresult ZenCommonUtils::ShareInternal(nsCOMPtr<mozIDOMWindowProxy>& aWindow, ns
auto ZenCommonUtils::IsSharingSupported() -> bool {
#if defined(XP_WIN) && !defined(__MINGW32__)
// The first public build that supports ShareCanceled API
return IsWindows10BuildOrLater(18956);
return mozilla::IsWindows10BuildOrLater(18956);
#elif defined(NS_ZEN_CAN_SHARE_NATIVE)
return NS_ZEN_CAN_SHARE_NATIVE;
#else