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