mirror of
https://github.com/ClipFusion-org/clipfusion.git
synced 2025-08-03 16:55:08 +00:00
uploaded icon for apple devices
This commit is contained in:
parent
dd2877c1ea
commit
1d64f0dba6
BIN
src/app/apple-icon.png
Normal file
BIN
src/app/apple-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.5 KiB |
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user