Compare commits
2 Commits
ceba850215
...
5d00a130c5
Author | SHA1 | Date |
---|---|---|
Bauke | 5d00a130c5 | |
Bauke | ebb87eea8c |
|
@ -13,7 +13,7 @@ export function createManifest(browser: string): Manifest.WebExtensionManifest {
|
|||
manifest_version: Number.NaN,
|
||||
name: "Tildes ReExtended",
|
||||
description: "The principal enhancement suite for Tildes.",
|
||||
version: "2.2.1",
|
||||
version: "2.2.2",
|
||||
permissions: ["downloads", "storage", "*://tildes.net/*"],
|
||||
options_ui: {
|
||||
page: "options/index.html",
|
||||
|
|
|
@ -10,6 +10,16 @@ export function v112DeserializeData(data: Record<string, any>): {
|
|||
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)) {
|
||||
if (key.startsWith("userLabel")) {
|
||||
deserialized.userLabels.push(
|
||||
|
|
Loading…
Reference in New Issue