mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-22 06:08:54 -04:00
fix error zone
This commit is contained in:
parent
fc32fdd9f3
commit
0ebca108fe
1 changed files with 18 additions and 17 deletions
|
@ -27,6 +27,8 @@ void main() async {
|
|||
// Ansi colors
|
||||
ansiColorDisabled = false;
|
||||
|
||||
// Catch errors
|
||||
await runZonedGuarded(() async {
|
||||
// Logs
|
||||
initLoggy();
|
||||
|
||||
|
@ -48,7 +50,6 @@ void main() async {
|
|||
|
||||
// Run the app
|
||||
// Hot reloads will only restart this part, not Veilid
|
||||
runZonedGuarded(() {
|
||||
runApp(ProviderScope(
|
||||
observers: const [StateLogger()],
|
||||
child: LocalizedApp(delegate, VeilidChatApp(theme: initTheme))));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue