mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-10 18:21:34 +03:00
DmSettings: fix color
This commit is contained in:
parent
377f536276
commit
a46b426292
@ -1,9 +1,7 @@
|
||||
import {
|
||||
Col,
|
||||
Box,
|
||||
Text,
|
||||
ManagedRadioButtonField as Radio,
|
||||
ManagedToggleSwitchField,
|
||||
ManagedToggleSwitchField
|
||||
} from '@tlon/indigo-react';
|
||||
import { Form, Formik } from 'formik';
|
||||
import React, { useCallback } from 'react';
|
||||
@ -13,7 +11,7 @@ import { AsyncButton } from '~/views/components/AsyncButton';
|
||||
|
||||
export function DmSettings(props: { api: GlobalApi }) {
|
||||
const { api } = props;
|
||||
const screening = useGraphState((s) => s.screening);
|
||||
const screening = useGraphState(s => s.screening);
|
||||
const initialValues = { accept: !screening };
|
||||
const onSubmit = useCallback(
|
||||
async (values, actions) => {
|
||||
@ -26,9 +24,9 @@ export function DmSettings(props: { api: GlobalApi }) {
|
||||
return (
|
||||
<Col p="5" gapY="5" width="100%" height="100%">
|
||||
<Col gapY="1">
|
||||
<Box fontSize="2">Privacy</Box>
|
||||
<Box color="black" fontSize="2">Privacy</Box>
|
||||
<Box fontSize="1" color="gray">
|
||||
Control other people's ability to message you
|
||||
Control other people's ability to message you
|
||||
</Box>
|
||||
</Col>
|
||||
<Col>
|
||||
|
Loading…
Reference in New Issue
Block a user