Добавлена синхронизация файлов обоев

This commit is contained in:
Book Pauk
2022-07-14 20:14:40 +07:00
parent 26468b996a
commit c7a17b0a76
8 changed files with 98 additions and 8 deletions

View File

@@ -32,6 +32,10 @@ class WallpaperStorage {
this.cachedKeys = await wpStore.keys();
}
async getKeys() {
return await wpStore.keys();
}
keyExists(key) {//не асинхронная
return this.cachedKeys.includes(key);
}