1
Fork 0

Compare commits

..

No commits in common. "5d00a130c5289bc14d8cbda29d852464aa150d33" and "ceba8502154f67906b52c2edd2e143d2505b3885" have entirely different histories.

2 changed files with 1 additions and 11 deletions

View File

@ -13,7 +13,7 @@ export function createManifest(browser: string): Manifest.WebExtensionManifest {
manifest_version: Number.NaN, manifest_version: Number.NaN,
name: "Tildes ReExtended", name: "Tildes ReExtended",
description: "The principal enhancement suite for Tildes.", description: "The principal enhancement suite for Tildes.",
version: "2.2.2", version: "2.2.1",
permissions: ["downloads", "storage", "*://tildes.net/*"], permissions: ["downloads", "storage", "*://tildes.net/*"],
options_ui: { options_ui: {
page: "options/index.html", page: "options/index.html",

View File

@ -10,16 +10,6 @@ export function v112DeserializeData(data: Record<string, any>): {
usernameColors: [], usernameColors: [],
}; };
if (data.data?.userLabels !== undefined) {
deserialized.userLabels = data.data
.userLabels as V112Settings["data"]["userLabels"];
}
if (data.data?.usernameColors !== undefined) {
deserialized.usernameColors = data.data
.usernameColors as V112Settings["data"]["usernameColors"];
}
for (const [key, value] of Object.entries(data)) { for (const [key, value] of Object.entries(data)) {
if (key.startsWith("userLabel")) { if (key.startsWith("userLabel")) {
deserialized.userLabels.push( deserialized.userLabels.push(