diff --git a/src/components/common/FullScreenLoadingSpinner.svelte b/src/components/common/FullScreenLoadingSpinner.svelte new file mode 100644 index 0000000..ffde43b --- /dev/null +++ b/src/components/common/FullScreenLoadingSpinner.svelte @@ -0,0 +1,7 @@ + + +
+ +
diff --git a/src/components/common/LoadingSpinner.svelte b/src/components/common/LoadingSpinner.svelte new file mode 100644 index 0000000..f09379b --- /dev/null +++ b/src/components/common/LoadingSpinner.svelte @@ -0,0 +1,3 @@ +
diff --git a/src/lib/init.ts b/src/lib/init.ts index 07dcded..794687c 100644 --- a/src/lib/init.ts +++ b/src/lib/init.ts @@ -1,5 +1,6 @@ import * as webnative from 'webnative' +import { dev } from '$app/environment' import { filesystemStore, sessionStore } from '../stores' import { getBackupStatus, type BackupStatus } from '$lib/auth/backup' @@ -9,7 +10,7 @@ export const initialize = async (): Promise => { const program: webnative.Program = await webnative.program({ tag: { creator: 'Fission', name: 'WAT' }, - debug: false // TODO: Add a flag or script to turn debugging on/off + debug: dev }) if (program.session) { diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index 968dd05..9c8e37c 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -1,11 +1,13 @@