Comment out debug flag handling in prepareApp

The logic for handling the '--debug' flag and modifying debugPrint has been commented out in prepareApp. This may be for debugging, refactoring, or to temporarily disable suppression of debug output.
This commit is contained in:
Feodor Fitsner 2025-09-25 12:52:51 -07:00
parent 7d76ef2829
commit f1b017a236
1 changed files with 6 additions and 6 deletions

View File

@ -129,12 +129,12 @@ void main(List<String> args) async {
} }
Future prepareApp() async { Future prepareApp() async {
if (!_args.contains("--debug")) { // if (!_args.contains("--debug")) {
// ignore: avoid_returning_null_for_void // // ignore: avoid_returning_null_for_void
debugPrint = (String? message, {int? wrapWidth}) => null; // debugPrint = (String? message, {int? wrapWidth}) => null;
} else { // } else {
_args.remove("--debug"); // _args.remove("--debug");
} // }
await setupDesktop(); await setupDesktop();