mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-06-25 15:20:36 -04:00
wasm work
This commit is contained in:
parent
736e7a0cb0
commit
a39b38cc16
8 changed files with 86 additions and 58 deletions
|
@ -89,7 +89,7 @@ class _MyAppState extends State<MyApp> with UiLoggy {
|
|||
// Platform messages may fail, so we use a try/catch PlatformException.
|
||||
// We also handle the message potentially returning null.
|
||||
try {
|
||||
veilidVersion = Veilid.instance.veilidVersionString();
|
||||
veilidVersion = await Veilid.instance.veilidVersionString();
|
||||
} on Exception {
|
||||
veilidVersion = 'Failed to get veilid version.';
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue