fix(settings): restore style selector to interface settings

This commit is contained in:
plebeius
2026-03-09 15:53:53 +08:00
parent 9f2fd12200
commit 892e6e824a
@@ -6,6 +6,7 @@ import capitalize from 'lodash/capitalize';
import useExpandedMediaStore from '../../../stores/use-expanded-media-store';
import useFeedViewSettingsStore from '../../../stores/use-feed-view-settings-store';
import Version from '../../version';
import StyleSelector from '../../style-selector/style-selector';
import { INTERFACE_LANGUAGE_STORAGE_KEY, SUPPORTED_INTERFACE_LANGUAGES } from '../../../lib/constants';
const commitRef = process.env.VITE_COMMIT_REF;
@@ -107,6 +108,9 @@ const InterfaceSettings = () => {
<div className={styles.setting}>
{capitalize(t('interface_language'))}: <InterfaceLanguage />
</div>
<div className={styles.setting}>
{capitalize(t('style'))}: <StyleSelector />
</div>
<div className={styles.setting}>
<label>
<input type='checkbox' checked={fitExpandedImagesToScreen} onChange={(e) => setFitExpandedImagesToScreen(e.target.checked)} />