tweak(phone/wallpaper): current wallpaper value as initial input value

This commit is contained in:
Christopher committed 2021-04-08 11:00:52 +02:00
1 parent 8e79eb1345
commit 62038aa5fe
1 file changed
+1 -1
@@ -9,7 +9,7 @@ export default function WallpaperModal() {
const { customWallpaperModal, setCustomWallpaperModal } = useCustomWallpaperModal();
const [settings, setSettings] = useSettings();
const { t } = useTranslation();
const [value, setValue] = useState('');
const [value, setValue] = useState(settings.wallpaper.value ? settings.wallpaper.value : '');
const { addAlert } = useSnackbar();
const isImageAndUrl = (url) => {