From b5bc88c7d441f8d24df70419d7e8e77eaa7f284e Mon Sep 17 00:00:00 2001 From: Ven Date: Mon, 21 Nov 2022 19:25:40 +0100 Subject: Settings export/import (#235) --- src/components/Settings.tsx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/components') diff --git a/src/components/Settings.tsx b/src/components/Settings.tsx index fc25901..e2abff2 100644 --- a/src/components/Settings.tsx +++ b/src/components/Settings.tsx @@ -20,6 +20,7 @@ import { useSettings } from "../api/settings"; import { ChangeList } from "../utils/ChangeList"; import IpcEvents from "../utils/IpcEvents"; import { useAwaiter } from "../utils/misc"; +import { downloadSettingsBackup, uploadSettingsBackup } from "../utils/settingsSync"; import { Alerts, Button, Card, Forms, Margins, Parser, React, Switch } from "../webpack/common"; import DonateButton from "./DonateButton"; import ErrorBoundary from "./ErrorBoundary"; @@ -136,6 +137,23 @@ export default ErrorBoundary.wrap(function Settings() { > Get notified about new Updates } + + + Settings Sync + + + + ); }, { -- cgit