chore(tv): guard text input diagnostics

This commit is contained in:
edde746
2026-05-21 00:42:19 +02:00
parent 0582ab2947
commit f4c83bedc0
6 changed files with 38 additions and 24 deletions
+11
View File
@@ -0,0 +1,11 @@
import 'app_logger.dart';
import 'platform_detector.dart';
class TextInputDiagnostics {
static bool enabled = false;
static void log(String source, String message) {
if (!enabled || !PlatformDetector.isTV()) return;
appLogger.i('TextInputDiag $source: $message');
}
}