mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-09 16:53:36 -05:00
Delete Privacy.tsx
This commit is contained in:
parent
ccda5e8609
commit
04e42ae1c2
1 changed files with 0 additions and 36 deletions
|
@ -1,36 +0,0 @@
|
|||
import styles from "./Panes.module.scss";
|
||||
import { Text } from "preact-i18n";
|
||||
|
||||
import { dispatch } from "../../../redux";
|
||||
import { connectState } from "../../../redux/connector";
|
||||
import { SyncKeys, SyncOptions } from "../../../redux/reducers/sync";
|
||||
|
||||
import Checkbox from "../../../components/ui/Checkbox";
|
||||
|
||||
interface Props {
|
||||
options?: SyncOptions;
|
||||
}
|
||||
|
||||
export function Component(props: Props) {
|
||||
return (
|
||||
<div className={styles.notifications}>
|
||||
<Checkbox
|
||||
key={"everyone_dm"}
|
||||
checked={false}
|
||||
description={
|
||||
<Text
|
||||
id={`app.settings.pages.privacy.allow_dms.d`}
|
||||
/>
|
||||
}
|
||||
onChange={(enabled) => {console.log(enabled)}}>
|
||||
<Text id="app.settings.pages.privacy.allow_dms.t" />
|
||||
</Checkbox>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export const Sync = connectState(Component, (state) => {
|
||||
return {
|
||||
options: state.sync,
|
||||
};
|
||||
});
|
Loading…
Reference in a new issue