diff --git a/src/app/organisms/settings/Settings.jsx b/src/app/organisms/settings/Settings.jsx index 54c5f5d..d57f8b6 100644 --- a/src/app/organisms/settings/Settings.jsx +++ b/src/app/organisms/settings/Settings.jsx @@ -4,10 +4,12 @@ import './Settings.scss'; import initMatrix from '../../../client/initMatrix'; import settings from '../../../client/state/settings'; +import { toggleMarkdown } from '../../../client/action/settings'; import Text from '../../atoms/text/Text'; import IconButton from '../../atoms/button/IconButton'; import Button from '../../atoms/button/Button'; +import Toggle from '../../atoms/button/Toggle'; import SegmentedControls from '../../atoms/segmented-controls/SegmentedControls'; import PopupWindow, { PWContentSelector } from '../../molecules/popup-window/PopupWindow'; @@ -22,6 +24,8 @@ import CrossIC from '../../../../public/res/ic/outlined/cross.svg'; import CinnySVG from '../../../../public/res/svg/cinny.svg'; function AppearanceSection() { + const [, updateState] = useState({}); + return (
)} /> + { toggleMarkdown(isMarkdown); updateState({}); }} + /> + )} + content={Format messages with markdown syntax before sending.} + />
); }