Add control flag for haptic logs
This commit is contained in:
parent
e767fc0c21
commit
8c9c9c46d6
@ -5,8 +5,9 @@ import 'package:wonders/common_libs.dart';
|
||||
|
||||
class AppHaptics {
|
||||
// note: system sounds are pretty buggy on Android: https://github.com/flutter/flutter/issues/57531
|
||||
static bool debugSound = kDebugMode;
|
||||
static bool debugLog = kDebugMode;
|
||||
static bool debugSound = kDebugMode && enableDebugLogs;
|
||||
static bool debugLog = kDebugMode && enableDebugLogs;
|
||||
static bool enableDebugLogs = false;
|
||||
|
||||
static void buttonPress() {
|
||||
// Android/Fuchsia expect haptics on all button presses, iOS does not.
|
||||
|
Loading…
x
Reference in New Issue
Block a user