mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(settings): restore style selector to interface settings
This commit is contained in:
@@ -6,6 +6,7 @@ import capitalize from 'lodash/capitalize';
|
|||||||
import useExpandedMediaStore from '../../../stores/use-expanded-media-store';
|
import useExpandedMediaStore from '../../../stores/use-expanded-media-store';
|
||||||
import useFeedViewSettingsStore from '../../../stores/use-feed-view-settings-store';
|
import useFeedViewSettingsStore from '../../../stores/use-feed-view-settings-store';
|
||||||
import Version from '../../version';
|
import Version from '../../version';
|
||||||
|
import StyleSelector from '../../style-selector/style-selector';
|
||||||
import { INTERFACE_LANGUAGE_STORAGE_KEY, SUPPORTED_INTERFACE_LANGUAGES } from '../../../lib/constants';
|
import { INTERFACE_LANGUAGE_STORAGE_KEY, SUPPORTED_INTERFACE_LANGUAGES } from '../../../lib/constants';
|
||||||
|
|
||||||
const commitRef = process.env.VITE_COMMIT_REF;
|
const commitRef = process.env.VITE_COMMIT_REF;
|
||||||
@@ -107,6 +108,9 @@ const InterfaceSettings = () => {
|
|||||||
<div className={styles.setting}>
|
<div className={styles.setting}>
|
||||||
{capitalize(t('interface_language'))}: <InterfaceLanguage />
|
{capitalize(t('interface_language'))}: <InterfaceLanguage />
|
||||||
</div>
|
</div>
|
||||||
|
<div className={styles.setting}>
|
||||||
|
{capitalize(t('style'))}: <StyleSelector />
|
||||||
|
</div>
|
||||||
<div className={styles.setting}>
|
<div className={styles.setting}>
|
||||||
<label>
|
<label>
|
||||||
<input type='checkbox' checked={fitExpandedImagesToScreen} onChange={(e) => setFitExpandedImagesToScreen(e.target.checked)} />
|
<input type='checkbox' checked={fitExpandedImagesToScreen} onChange={(e) => setFitExpandedImagesToScreen(e.target.checked)} />
|
||||||
|
|||||||
Reference in New Issue
Block a user