{#if deviceCtx.device === null}
- Not connected to any device yet. Plug in your device to connect.
+ Not connected to any device yet. Plug in your
+ device to connect.
{:else}
-
+
{#snippet icon()}
{/snippet}
diff --git a/webapp/src/lib/layouts/write/WriteSection.svelte b/webapp/src/lib/layouts/write/WriteSection.svelte
index 025935c..50a154f 100644
--- a/webapp/src/lib/layouts/write/WriteSection.svelte
+++ b/webapp/src/lib/layouts/write/WriteSection.svelte
@@ -15,14 +15,15 @@ let inProgress = $state(false)
Write pattern to device
-
+
{#if imageCtx.image === null}
- Select an image file in order to write it onto your device.
+ Select an image file in order to write it
+ onto your device.
{:else if !inProgress}
- Write the pattern onto your device if you have finished
- editing the image.
+ Write the pattern onto your device
+ if you have finished editing the image.
{:else}
- Refresh in progress. Do not disconnect device.
+ Refresh in progress. Do not disconnect device.
{/if}