mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
@@ -85,7 +85,7 @@
|
||||
try {
|
||||
const result = JSON.parse(event.target?.result as string);
|
||||
tempTheme = result;
|
||||
await themeManager.installTheme(result);
|
||||
await themeManager.installTheme(result, { fromStore: false });
|
||||
await fetchThemes();
|
||||
} catch (error) {
|
||||
console.error('Error parsing file:', error);
|
||||
|
||||
@@ -125,6 +125,7 @@
|
||||
blob: image.blob
|
||||
}))
|
||||
themeClone.coverImage = theme.coverImage
|
||||
themeClone.userEdited = true
|
||||
|
||||
if (shouldForceThemeAppearance(themeClone)) {
|
||||
themeClone.forceTheme = true;
|
||||
|
||||
@@ -8,4 +8,6 @@ export type Theme = {
|
||||
is_favorited?: boolean;
|
||||
favorite_count?: number;
|
||||
download_count?: number;
|
||||
/** Unix seconds — last server update (GET /api/themes). */
|
||||
updated_at?: number;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user