twitter spaces and a ton of improvements
This commit is contained in:
@@ -46,7 +46,7 @@ export function popup(obj) {
|
||||
for (let i = 0; i < obj.body.length; i++) {
|
||||
if (obj.body[i]["text"].length > 0) {
|
||||
classes = obj.body[i]["classes"] ? obj.body[i]["classes"] : []
|
||||
if (i != obj.body.length - 1 && !obj.body[i]["nopadding"]) {
|
||||
if (i !== obj.body.length - 1 && !obj.body[i]["nopadding"]) {
|
||||
classes.push("desc-padding")
|
||||
}
|
||||
body += obj.body[i]["raw"] ? obj.body[i]["text"] : `<div id="popup-desc" class="${classes.length > 0 ? classes.join(' ') : ''}">${obj.body[i]["text"]}</div>`
|
||||
|
||||
@@ -5,7 +5,7 @@ export function changelogHistory() { // blockId 0
|
||||
let render = ``;
|
||||
|
||||
for (let i in history) {
|
||||
render += `<div id="popup-desc" class="changelog-subtitle">${history[i]["title"]}</div><div id="popup-desc" class="desc-padding">${history[i]["content"]}</div>`
|
||||
render += `<div id="popup-desc" class="changelog-subtitle">${history[i]["title"]} (${history[i]["version"]})</div><div id="popup-desc" class="desc-padding">${history[i]["content"]}</div>`
|
||||
}
|
||||
return render;
|
||||
}
|
||||
@@ -84,7 +84,7 @@ export default function(obj) {
|
||||
}, {
|
||||
text: `${loc(obj.lang, 'AboutSupportedServices')} ${enabledServices}.`
|
||||
}, {
|
||||
text: obj.lang != "ru" ? loc(obj.lang, 'FollowTwitter') : ""
|
||||
text: obj.lang !== "ru" ? loc(obj.lang, 'FollowTwitter') : ""
|
||||
}, {
|
||||
text: backdropLink(repo, loc(obj.lang, 'LinkGitHubIssues')),
|
||||
classes: ["bottom-link"]
|
||||
@@ -216,7 +216,7 @@ export default function(obj) {
|
||||
name: "general",
|
||||
title: loc(obj.lang, 'SettingsAudioTab'),
|
||||
body: switcher({
|
||||
name: "audioFormat",
|
||||
name: "defaultAudioFormat",
|
||||
subtitle: loc(obj.lang, 'SettingsFormatSubtitle'),
|
||||
explanation: loc(obj.lang, 'SettingsAudioFormatDescription'),
|
||||
items: audioFormats
|
||||
@@ -250,7 +250,6 @@ export default function(obj) {
|
||||
name: "miscellaneous",
|
||||
title: loc(obj.lang, 'Miscellaneous'),
|
||||
body: checkbox("disableChangelog", loc(obj.lang, 'SettingsDisableNotifications'))
|
||||
+ checkbox("disableClipboardButton", loc(obj.lang, 'SettingsDisableClipboard'))
|
||||
})
|
||||
}],
|
||||
})}
|
||||
|
||||
Reference in New Issue
Block a user