diff --git a/web/src/components/Preferences.js b/web/src/components/Preferences.js index 2bafa7e9..b255556c 100644 --- a/web/src/components/Preferences.js +++ b/web/src/components/Preferences.js @@ -3,6 +3,7 @@ import {useEffect, useState} from 'react'; import { CardActions, CardContent, + Checkbox, FormControl, Select, Stack, @@ -42,6 +43,7 @@ const Preferences = () => { + ); @@ -58,6 +60,7 @@ const Notifications = () => { + ); @@ -173,6 +176,33 @@ const DeleteAfter = () => { ) }; +const BackgroundPush = () => { + const { t } = useTranslation(); + + const handleChange = () => { + console.log('The checkbox was toggled.'); + } + + return ( + + + + + + + ) +}; + const PrefGroup = (props) => { return (
@@ -473,4 +503,32 @@ const Language = () => { ) }; +const Installation = () => { + const { t } = useTranslation(); // Need help setting up the locale + + + return ( + + + {"Install NTFY"} + + + + ) +} + +const Install = () => { + const { t } = useTranslation(); + + + + return ( + + + + ) +} + export default Preferences;