new chat widget

This commit is contained in:
Christien Rioux 2025-05-17 18:02:17 -04:00
parent 063eeb8d12
commit 1a9cca0667
44 changed files with 1904 additions and 981 deletions

View file

@ -17,8 +17,12 @@ class VeilidChatGlobalInit {
// Initialize Veilid
Future<void> _initializeVeilid() async {
// Init Veilid
Veilid.instance.initializeVeilidCore(
await getDefaultVeilidPlatformConfig(kIsWeb, VeilidChatApp.name));
try {
Veilid.instance.initializeVeilidCore(
await getDefaultVeilidPlatformConfig(kIsWeb, VeilidChatApp.name));
} on VeilidAPIExceptionAlreadyInitialized {
log.debug('Already initialized, not reinitializing veilid-core');
}
// Veilid logging
initVeilidLog(kIsDebugMode);