diff --git a/app/soapbox/features/soapbox_config/index.tsx b/app/soapbox/features/soapbox_config/index.tsx index 9eb5ed28f..dabf4a830 100644 --- a/app/soapbox/features/soapbox_config/index.tsx +++ b/app/soapbox/features/soapbox_config/index.tsx @@ -1,15 +1,16 @@ import { Map as ImmutableMap, List as ImmutableList, fromJS } from 'immutable'; import React, { useState, useEffect, useMemo } from 'react'; import { defineMessages, useIntl, FormattedMessage } from 'react-intl'; +import Toggle from 'react-toggle'; import { updateConfig } from 'soapbox/actions/admin'; import { uploadMedia } from 'soapbox/actions/media'; import snackbar from 'soapbox/actions/snackbar'; +import List, { ListItem } from 'soapbox/components/list'; import { Column, Form, FormActions, FormGroup, Input, Textarea, Button } from 'soapbox/components/ui'; import HStack from 'soapbox/components/ui/hstack/hstack'; import Stack from 'soapbox/components/ui/stack/stack'; import Streamfield from 'soapbox/components/ui/streamfield/streamfield'; -import { Checkbox } from 'soapbox/features/forms'; import ThemeSelector from 'soapbox/features/ui/components/theme-selector'; import { useAppSelector, useAppDispatch } from 'soapbox/hooks'; import { normalizeSoapboxConfig } from 'soapbox/normalizers'; @@ -237,50 +238,60 @@ const SoapboxConfig: React.FC = () => { /> - - e.target.checked)} - /> - e.target.checked)} - /> - e.target.checked)} - /> - + + e.target.checked)} + /> + + + + e.target.checked)} + /> + + + + + e.target.checked)} + /> + + + e.target.checked)} - /> - + e.target.checked)} + /> + + + e.target.checked)} - /> + > + e.target.checked)} + /> + + {soapbox.get('singleUserMode') && ( - + e.target.value)} /> - + )} - + }