Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(import): hide import remote #958

Merged
merged 1 commit into from
Dec 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading