Skip to content

Commit

Permalink
add options update function
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanVukovic99 committed Dec 27, 2023
1 parent 10187fa commit b6e5bf1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ext/js/data/options-util.js
Original file line number Diff line number Diff line change
Expand Up @@ -1173,6 +1173,18 @@ export class OptionsUtil {
return options;
}

/**
* @type {import('options-util').ModernUpdateFunctionAsync}
*/
async _updateVersion22(options) {
// Added translation.searchResolution
for (const {options: profileOptions} of options.profiles) {
profileOptions.translation.searchResolution = 'letter';
}

return options;
}

/**
* @param {string} url
* @returns {Promise<chrome.tabs.Tab>}
Expand Down

0 comments on commit b6e5bf1

Please sign in to comment.