Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

reorder preference options

Abhinavf562915a3d40
diff --git a/apps/photos/src/components/Sidebar/Preferences/index.tsx b/apps/photos/src/components/Sidebar/Preferences/index.tsx
index 1adbff240a..9f14d15a59 100644
--- a/apps/photos/src/components/Sidebar/Preferences/index.tsx
+++ b/apps/photos/src/components/Sidebar/Preferences/index.tsx
@@ -77,6 +77,17 @@ export default function Preferences({ open, onClose, onRootClose }) {
<Box px={'8px'}>
<Stack py="20px" spacing="24px">
<LanguageSelector />
+ <EnteMenuItem
+ variant="toggle"
+ checked={!optOutOfCrashReports}
+ onClick={toggleOptOutOfCrashReports}
+ label={t('CRASH_REPORTING')}
+ />{' '}
+ <EnteMenuItem
+ onClick={openMapSettings}
+ endIcon={<ChevronRight />}
+ label={t('MAP')}
+ />
{isElectron() && (
<EnteMenuItem
onClick={openAdvancedSettings}
@@ -84,17 +95,6 @@ export default function Preferences({ open, onClose, onRootClose }) {
label={t('ADVANCED')}
/>
)}
- <EnteMenuItem
- onClick={openMapSettings}
- endIcon={<ChevronRight />}
- label={t('MAP')}
- />
- <EnteMenuItem
- variant="toggle"
- checked={!optOutOfCrashReports}
- onClick={toggleOptOutOfCrashReports}
- label={t('CRASH_REPORTING')}
- />
</Stack>
</Box>
</Stack>