diff --git a/src/app/components/KeyDownload.svelte b/src/app/components/KeyDownload.svelte index b00900a0..87ce677f 100644 --- a/src/app/components/KeyDownload.svelte +++ b/src/app/components/KeyDownload.svelte @@ -15,6 +15,7 @@ import ModalHeader from "@lib/components/ModalHeader.svelte" import ModalTitle from "@lib/components/ModalTitle.svelte" import ModalFooter from "@lib/components/ModalFooter.svelte" + import ProgressBar from "@app/components/ProgressBar.svelte" import {pushToast} from "@app/util/toast" import {PLATFORM_NAME} from "@app/core/state" @@ -22,9 +23,11 @@ secret: string next: () => unknown submitText?: string + step?: number + totalSteps?: number } - const {secret, next, submitText = "Continue"}: Props = $props() + const {secret, next, submitText = "Continue", step, totalSteps}: Props = $props() const back = () => history.back() @@ -150,6 +153,9 @@ + {#if step && totalSteps} + + {/if} - - {/snippet} - - - + + {#snippet footer()} + + + {/snippet} + {#snippet progressBar()} + {#if step && totalSteps} + + {/if} + {/snippet} +