replaced hapticFeedbackPattern "alignment" with " generic" on MacOS
This commit is contained in:
Родитель
579dc8f39b
Коммит
aeebd9fd40
|
@ -11,7 +11,7 @@ namespace Xamarin.Essentials
|
|||
static void PlatformPerform(HapticFeedbackType type)
|
||||
{
|
||||
if (type == HapticFeedbackType.LongPress)
|
||||
NSHapticFeedbackManager.DefaultPerformer.PerformFeedback(NSHapticFeedbackPattern.Alignment, NSHapticFeedbackPerformanceTime.Default);
|
||||
NSHapticFeedbackManager.DefaultPerformer.PerformFeedback(NSHapticFeedbackPattern.Generic, NSHapticFeedbackPerformanceTime.Default);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче