1
0

fix persistence banner not showing up

This commit is contained in:
Adrian Wannenmacher 2026-03-11 19:18:23 +01:00
parent a5e8ec0a07
commit 3dad5d33f3
Signed by: tfld
GPG Key ID: 19D986ECB1E492D5

View File

@ -8,7 +8,8 @@ export default class Persist {
#persisted = null;
async oninit() {
this.#persisted = await navigator.storage.persisted();
this.#persisted = await navigator?.storage?.persisted() ?? null;
m.redraw();
}
view() {