mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-19 08:36:17 +08:00
@@ -1,7 +1,7 @@
|
||||
import 'package:PiliPlus/utils/storage.dart';
|
||||
import 'package:PiliPlus/utils/storage_pref.dart';
|
||||
import 'package:flutter/services.dart' show HapticFeedback;
|
||||
|
||||
bool enableFeedback = GStorage.feedBackEnable;
|
||||
bool enableFeedback = Pref.feedBackEnable;
|
||||
void feedBack() {
|
||||
if (enableFeedback) {
|
||||
HapticFeedback.lightImpact();
|
||||
|
||||
Reference in New Issue
Block a user