Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update browser extension settings menu order (#776)

Leendert de Borsta036902307fc
diff --git a/apps/browser-extension/src/entrypoints/popup/pages/settings/Settings.tsx b/apps/browser-extension/src/entrypoints/popup/pages/settings/Settings.tsx
index 910bd0827..20c4a662d 100644
--- a/apps/browser-extension/src/entrypoints/popup/pages/settings/Settings.tsx
+++ b/apps/browser-extension/src/entrypoints/popup/pages/settings/Settings.tsx
@@ -482,9 +482,9 @@ const Settings: React.FC = () => {
<section>
<div className="bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700">
<div className="divide-y divide-gray-200 dark:divide-gray-700">
- {/* Identity Generator Settings */}
+ {/* Password Generator Settings */}
<button
- onClick={navigateToIdentityGeneratorSettings}
+ onClick={navigateToPasswordGeneratorSettings}
className="w-full px-4 py-3 flex items-center justify-between hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors"
>
<div className="flex items-center">
@@ -498,10 +498,10 @@ const Settings: React.FC = () => {
<path
strokeLinecap="round"
strokeLinejoin="round"
- d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"
+ d="M15 7a2 2 0 012 2m4 0a6 6 0 01-7.743 5.743L11 17H9v2H7v2H4a1 1 0 01-1-1v-2.586a1 1 0 01.293-.707l5.964-5.964A6 6 0 1121 9z"
/>
</svg>
- <span className="text-gray-900 dark:text-white text-left">{t('settings.identityGenerator')}</span>
+ <span className="text-gray-900 dark:text-white text-left">{t('settings.passwordGenerator')}</span>
</div>
<svg
className="w-4 h-4 text-gray-400"
@@ -514,9 +514,9 @@ const Settings: React.FC = () => {
</svg>
</button>
- {/* Password Generator Settings */}
+ {/* Identity Generator Settings */}
<button
- onClick={navigateToPasswordGeneratorSettings}
+ onClick={navigateToIdentityGeneratorSettings}
className="w-full px-4 py-3 flex items-center justify-between hover:bg-gray-50 dark:hover:bg-gray-700 transition-colors"
>
<div className="flex items-center">
@@ -530,10 +530,10 @@ const Settings: React.FC = () => {
<path
strokeLinecap="round"
strokeLinejoin="round"
- d="M15 7a2 2 0 012 2m4 0a6 6 0 01-7.743 5.743L11 17H9v2H7v2H4a1 1 0 01-1-1v-2.586a1 1 0 01.293-.707l5.964-5.964A6 6 0 1121 9z"
+ d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"
/>
</svg>
- <span className="text-gray-900 dark:text-white text-left">{t('settings.passwordGenerator')}</span>
+ <span className="text-gray-900 dark:text-white text-left">{t('settings.identityGenerator')}</span>
</div>
<svg
className="w-4 h-4 text-gray-400"