fix: logger

onboarding
Christian Pauly 5 years ago
parent 84805a2bea
commit c8b2d6042c

@ -309,7 +309,6 @@ class MatrixState extends State<Matrix> {
} }
void initMatrix() { void initMatrix() {
Logs().level = Level.verbose;
LogConsole.init(); LogConsole.init();
clientName = clientName =
'${AppConfig.applicationName} ${kIsWeb ? 'Web' : Platform.operatingSystem}'; '${AppConfig.applicationName} ${kIsWeb ? 'Web' : Platform.operatingSystem}';
@ -442,13 +441,9 @@ class MatrixState extends State<Matrix> {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return LogConsoleOnShake( return _InheritedMatrix(
dark: true, data: this,
debugOnly: false, child: widget.child,
child: _InheritedMatrix(
data: this,
child: widget.child,
),
); );
} }
} }

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

Loading…
Cancel
Save