mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-21 05:38:42 -04:00
new chat widget
This commit is contained in:
parent
063eeb8d12
commit
1a9cca0667
44 changed files with 1904 additions and 981 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue