mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
10 lines
237 B
Dart
10 lines
237 B
Dart
import 'package:PiliPlus/utils/storage_pref.dart';
|
|
import 'package:flutter/services.dart' show HapticFeedback;
|
|
|
|
bool enableFeedback = Pref.feedBackEnable;
|
|
void feedBack() {
|
|
if (enableFeedback) {
|
|
HapticFeedback.lightImpact();
|
|
}
|
|
}
|