From 64c5ea93c344a172f744bb40cb3f1193c2653797 Mon Sep 17 00:00:00 2001 From: Christian Pauly Date: Sat, 19 Dec 2020 16:37:32 +0100 Subject: [PATCH] fix: logger --- lib/components/matrix.dart | 11 +++-------- lib/views/settings.dart | 1 + 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/lib/components/matrix.dart b/lib/components/matrix.dart index bd2168b6..3b983070 100644 --- a/lib/components/matrix.dart +++ b/lib/components/matrix.dart @@ -309,7 +309,6 @@ class MatrixState extends State { } void initMatrix() { - Logs().level = Level.verbose; LogConsole.init(); clientName = '${AppConfig.applicationName} ${kIsWeb ? 'Web' : Platform.operatingSystem}'; @@ -442,13 +441,9 @@ class MatrixState extends State { @override Widget build(BuildContext context) { - return LogConsoleOnShake( - dark: true, - debugOnly: false, - child: _InheritedMatrix( - data: this, - child: widget.child, - ), + return _InheritedMatrix( + data: this, + child: widget.child, ); } } diff --git a/lib/views/settings.dart b/lib/views/settings.dart index 2486b1c0..f52fd380 100644 --- a/lib/views/settings.dart +++ b/lib/views/settings.dart @@ -603,6 +603,7 @@ class _SettingsState extends State { context, LogConsole( showCloseButton: true, + dark: true, ), ), ),