feat: new connection flow

This commit is contained in:
2023-07-23 17:44:26 +02:00
parent 998a400395
commit 4cc3343984
9 changed files with 221 additions and 96 deletions

View File

@@ -8,6 +8,7 @@
import ConnectionPopup from "./ConnectionPopup.svelte"
import {canAutoConnect} from "$lib/serial/device"
import {browser} from "$app/environment"
import {userPreferences} from "$lib/preferences"
const training = [
{slug: "cpm", title: "CPM - Characters Per Minute", icon: "music_note"},
@@ -53,8 +54,10 @@
backup
{:else if $syncStatus === "uploading"}
cloud_download
{:else}
{:else if $userPreferences.backup}
cloud_done
{:else}
cloud_off
{/if}
</button>
{/if}