Files
plezy/lib/utils/obfuscation_utils.dart
T
edde746 78fa2c29e3 refactor(input): compile the disabled diagnostics and screenshot-blur subsystems out of normal builds
TextInputDiagnostics.enabled and kBlurArtwork were mutable/const-false flags nothing ever set, yet the diagnostics side eagerly built log strings on the gamepad and key-simulator hot paths on every event. Both flags are now const bool.fromEnvironment (PLEZY_TEXT_INPUT_DIAGNOSTICS / PLEZY_BLUR_ARTWORK) so the branches const-fold away, every eager interpolation sits behind a guard, and screenshot blurring stays one dart-define away. The vowel-rotation title obfuscation had no consumer need beyond artwork blur and is gone.
2026-08-17 19:02:22 +02:00

4 lines
221 B
Dart

/// Blur all artwork (for store screenshots). Compile-time switch: run with
/// `--dart-define=PLEZY_BLUR_ARTWORK=true`; const-folded out of normal builds.
const kBlurArtwork = bool.fromEnvironment('PLEZY_BLUR_ARTWORK');