mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
automatic theme deduplication on load
This commit is contained in:
@@ -24,8 +24,8 @@ type ThemesResponse = {
|
||||
themes: Theme[];
|
||||
}
|
||||
|
||||
const DeleteDownloadedTheme = async (themeID: string) => {
|
||||
console.log('DeleteDownloaded Theme:', themeID)
|
||||
export const DeleteDownloadedTheme = async (themeID: string) => {
|
||||
console.debug('DeleteDownloaded Theme:', themeID)
|
||||
await localforage.removeItem(themeID);
|
||||
|
||||
const availableThemesList = await localforage.getItem('availableThemes') as string[];
|
||||
|
||||
Reference in New Issue
Block a user