Skip to content

Commit

Permalink
chore(import): hide import remote (#958)
Browse files Browse the repository at this point in the history
  • Loading branch information
stavares843 authored Dec 20, 2024
1 parent 623ba64 commit 0d5359f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/lib/lang/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
},
"import": {
"title": "Import Account",
"description": "Import your account from remote or a backup file",
"description": "Now you can import your account! Use the button below to import your account from a backup file.",
"passphrase": "Add passphrase",
"remote": "Import from remote",
"file": "Import from file",
Expand Down Expand Up @@ -383,7 +383,7 @@
},
"export": {
"label": "Export",
"description": "Export your account manually to remote or a file",
"description": "Export your account manually to a file.",
"remote": "Remote",
"file": "File",
"fail": "Failed to export account",
Expand Down
4 changes: 2 additions & 2 deletions src/lib/layouts/login/ImportAccount.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
text={$_("pages.auth.import.file")}>
<Icon icon={Shape.Document} />
</Button>
<Button
<!--- <Button
hook="import-account"
loading={loading}
disabled={passphrase.find(s => s.length === 0) !== undefined}
Expand All @@ -154,7 +154,7 @@
}}
text={$_("pages.auth.import.remote")}>
<Icon icon={Shape.Globe} />
</Button>
</Button> -->
<FileInput
bind:this={passphraseUpload}
hidden
Expand Down
4 changes: 2 additions & 2 deletions src/routes/settings/profile/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -666,15 +666,15 @@
{/if}
<div class="section">
<SettingSection hook="export-account" name={$_("settings.profile.export.label")} description={$_("settings.profile.export.description")}>
<Button
<!--- <Button
hook="export-account-remote"
appearance={Appearance.Alt}
text={$_("settings.profile.export.remote")}
on:click={async _ => {
await exportAccount()
}}>
<Icon icon={Shape.Globe} />
</Button>
</Button> --->
<Button
hook="export-account-file"
appearance={Appearance.Alt}
Expand Down

0 comments on commit 0d5359f

Please sign in to comment.