From f5fbb3ecc4326fcd7f5085da6114833cdeec6ced Mon Sep 17 00:00:00 2001 From: Felix Kirchner Date: Wed, 13 May 2026 13:48:44 +0200 Subject: [PATCH 1/2] fix: long press feedback on every call --- lib/presentation/widgets/buttons/main_menu_button.dart | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/presentation/widgets/buttons/main_menu_button.dart b/lib/presentation/widgets/buttons/main_menu_button.dart index 497fea0..c300eeb 100644 --- a/lib/presentation/widgets/buttons/main_menu_button.dart +++ b/lib/presentation/widgets/buttons/main_menu_button.dart @@ -70,11 +70,14 @@ class _MainMenuButtonState extends State const Duration(milliseconds: 400), () async { _isLongPressing = true; - await HapticFeedback.vibrate(); widget.onLongPressed?.call(); + await HapticFeedback.heavyImpact(); _repeatTimer = Timer.periodic( const Duration(milliseconds: 250), - (_) => widget.onLongPressed?.call(), + (_) async { + widget.onLongPressed?.call(); + await HapticFeedback.heavyImpact(); + }, ); }, ); From e2882c1c6a9ce65dbcd30be61fa58c041a3fdb51 Mon Sep 17 00:00:00 2001 From: Felix Kirchner Date: Wed, 13 May 2026 13:54:01 +0200 Subject: [PATCH 2/2] changed long press vibration --- lib/presentation/widgets/tiles/game_tile.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/presentation/widgets/tiles/game_tile.dart b/lib/presentation/widgets/tiles/game_tile.dart index 80881d0..ee5acf0 100644 --- a/lib/presentation/widgets/tiles/game_tile.dart +++ b/lib/presentation/widgets/tiles/game_tile.dart @@ -61,7 +61,7 @@ class GameTile extends StatelessWidget { } }, onLongPress: () async { - await HapticFeedback.vibrate(); + await HapticFeedback.heavyImpact(); if (onLongPress != null) { onLongPress!.call(); }