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.
4 lines
221 B
Dart
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');
|