mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-09 10:15:26 +00:00
Delete Privacy.tsx
This commit is contained in:
@@ -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,
|
|
||||||
};
|
|
||||||
});
|
|
||||||
Reference in New Issue
Block a user