uploaded icon for apple devices

This commit is contained in:
corgifist 2025-07-24 03:12:50 +03:00
parent dd2877c1ea
commit 1d64f0dba6
2 changed files with 2 additions and 2 deletions

BIN
src/app/apple-icon.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

@ -13,14 +13,14 @@ function PersistentStorageControl({
status: string | null
}): ReactNode {
const { persist } = usePersistenceContext();
if (status == null || status == '') return <Label className="text-muted-foreground">No information</Label>;
if (status == null) return <Label className="text-muted-foreground">No information</Label>;
if (status == "never") return <Label className="text-red-500">Unavailable</Label>;
if (status == "prompt") return <Button onClick={persist}>Enable</Button>;
return <Label className="text-green-400">Enabled</Label>;
};
export default function Settings(): ReactNode {
const [status, setStatus] = useState<string | null>('');
const [status, setStatus] = useState<string | null>(null);
useEffect(() => {
setStatus(localStorage.getItem("persistence-status"));