move export above clear cache

This commit is contained in:
zeppi 2022-07-14 17:41:21 -04:00
parent 6442042fa6
commit 30c2dbdd10

View file

@ -379,6 +379,20 @@ export default function SettingSystem(props: Props) {
<SettingsRow title={__('Share url')} multirow>
<SettingShareUrl />
</SettingsRow>
<SettingsRow
title={__('Export Wallet')}
subtitle={__('Export encrypted sync data for import in another app.')}
>
<Button
button="primary"
className="expandable__button"
label={__('Export')}
aria-label={__('Export wallet')}
onClick={() => {
openModal(MODALS.WALLET_EXPORT, {});
}}
/>
</SettingsRow>
<SettingsRow
title={__('Clear application cache')}
subtitle={__('This might fix issues that you are having. Your wallet will not be affected.')}
@ -394,20 +408,6 @@ export default function SettingSystem(props: Props) {
disabled={clearingCache}
/>
</SettingsRow>
<SettingsRow
title={__('Export Wallet')}
subtitle={__('Export encrypted sync data for import in another app.')}
>
<Button
button="primary"
className="expandable__button"
label={__('Export')}
aria-label={__('Export wallet')}
onClick={() => {
openModal(MODALS.WALLET_EXPORT, {});
}}
/>
</SettingsRow>
</>
}
/>