fix: feature toggle for auto updater

This commit is contained in:
Louis 2025-08-14 09:58:46 +07:00
parent f4661912b0
commit 4350d4c9a0
No known key found for this signature in database
GPG Key ID: 44FA9F4D33C37DE2

View File

@ -260,6 +260,7 @@ function General() {
</span> </span>
} }
/> />
{!AUTO_UPDATER_DISABLED && (
<CardItem <CardItem
title={t('settings:general.checkForUpdates')} title={t('settings:general.checkForUpdates')}
description={t('settings:general.checkForUpdatesDesc')} description={t('settings:general.checkForUpdatesDesc')}
@ -280,6 +281,7 @@ function General() {
</Button> </Button>
} }
/> />
)}
{/* <CardItem {/* <CardItem
title={t('common:language')} title={t('common:language')}
actions={<LanguageSwitcher />} actions={<LanguageSwitcher />}