Skip to content
Snippets Groups Projects
Unverified Commit e3bd9800 authored by Jed Fox's avatar Jed Fox Committed by GitHub
Browse files

Fix prop name for button to enable e2ee (#641)

parent 149a80cd
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ export default function EncryptionSettings({ prefs, pushModal }) {
</Setting>
) : serverURL ? (
<Setting
button={
primaryAction={
<Button onClick={() => pushModal('create-encryption-key')}>
Enable encryption
</Button>
......@@ -58,7 +58,7 @@ export default function EncryptionSettings({ prefs, pushModal }) {
</Text>
</Setting>
) : (
<Setting button={<Button disabled>Enable encryption…</Button>}>
<Setting primaryAction={<Button disabled>Enable encryption…</Button>}>
<Text>
<strong>End-to-end encryption</strong> is not available when running
without a server. Budget files are always kept unencrypted locally, and
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment