fix: logger

This commit is contained in:
Christian Pauly 2020-12-19 16:37:32 +01:00
parent 0abebddf53
commit 64c5ea93c3
2 changed files with 4 additions and 8 deletions

View File

@ -309,7 +309,6 @@ class MatrixState extends State<Matrix> {
}
void initMatrix() {
Logs().level = Level.verbose;
LogConsole.init();
clientName =
'${AppConfig.applicationName} ${kIsWeb ? 'Web' : Platform.operatingSystem}';
@ -442,13 +441,9 @@ class MatrixState extends State<Matrix> {
@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,
);
}
}

View File

@ -603,6 +603,7 @@ class _SettingsState extends State<Settings> {
context,
LogConsole(
showCloseButton: true,
dark: true,
),
),
),