mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-08-14 17:35:57 -04:00
work
This commit is contained in:
parent
5f9fec0b18
commit
cbdbd34af8
11 changed files with 436 additions and 203 deletions
|
@ -1,4 +1,5 @@
|
|||
import 'dart:async';
|
||||
import 'dart:convert';
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter/services.dart';
|
||||
|
@ -97,11 +98,11 @@ class _MyAppState extends State<MyApp> with UiLoggy {
|
|||
if (update is VeilidLog) {
|
||||
await processLog(update);
|
||||
} else if (update is VeilidAppMessage) {
|
||||
loggy.info("AppMessage: ${update.json}");
|
||||
loggy.info("AppMessage: ${jsonEncode(update)}");
|
||||
} else if (update is VeilidAppCall) {
|
||||
loggy.info("AppCall: ${update.json}");
|
||||
loggy.info("AppCall: ${jsonEncode(update)}");
|
||||
} else {
|
||||
loggy.trace("Update: ${update.json}");
|
||||
loggy.trace("Update: ${jsonEncode(update)}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue