mirror of
https://gitlab.com/veilid/veilid.git
synced 2025-08-10 07:30:25 -04:00
integration test and config work
This commit is contained in:
parent
8818e63dc0
commit
a04d4e12c5
17 changed files with 521 additions and 304 deletions
|
@ -1,6 +1,7 @@
|
|||
import 'dart:async';
|
||||
import 'dart:convert';
|
||||
|
||||
import 'package:flutter/foundation.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:veilid/veilid.dart';
|
||||
import 'package:loggy/loggy.dart';
|
||||
|
@ -109,7 +110,8 @@ class _MyAppState extends State<MyApp> with UiLoggy {
|
|||
|
||||
Future<void> toggleStartup(bool startup) async {
|
||||
if (startup && !_startedUp) {
|
||||
var config = await getDefaultVeilidConfig("Veilid Plugin Example");
|
||||
var config = await getDefaultVeilidConfig(
|
||||
isWeb: kIsWeb, programName: "Veilid Plugin Example");
|
||||
if (const String.fromEnvironment("DELETE_TABLE_STORE") == "1") {
|
||||
config = config.copyWith(
|
||||
tableStore: config.tableStore.copyWith(delete: true));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue