3.0 release

This commit is contained in:
Dmitrii Selivanov committed 2022-03-27 01:25:10 +03:00
1 parent a6ac13f852
commit 19b582fb9d
14 files changed
+523 -253

No files matched your search

+5
View File
@@ -74,6 +74,10 @@ api.runtime.onMessage.addListener((request, sender, sendResponse) => {
}
});
api.runtime.onInstalled.addListener(() => {
api.tabs.create({url: api.runtime.getURL("/changelog/3/changelog_3.0.html")});
})
async function sendVote(videoId, vote) {
api.storage.sync.get(null, async (storageResult) => {
if (!storageResult.userId || !storageResult.registrationConfirmed) {
@@ -362,6 +366,7 @@ function initializeColorTheme() {
}
});
}
function initializeNumberDisplayFormat() {
api.storage.sync.get(["numberDisplayFormat"], (res) => {
if (res.numberDisplayFormat === undefined) {