fix persistence banner not showing up
This commit is contained in:
parent
a5e8ec0a07
commit
3dad5d33f3
@ -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() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user