summaryrefslogtreecommitdiffstats
path: root/mobile/android/modules/geckoview/GeckoViewTranslations.sys.mjs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:13:27 +0000
commit40a355a42d4a9444dc753c04c6608dade2f06a23 (patch)
tree871fc667d2de662f171103ce5ec067014ef85e61 /mobile/android/modules/geckoview/GeckoViewTranslations.sys.mjs
parentAdding upstream version 124.0.1. (diff)
downloadfirefox-40a355a42d4a9444dc753c04c6608dade2f06a23.tar.xz
firefox-40a355a42d4a9444dc753c04c6608dade2f06a23.zip
Adding upstream version 125.0.1.upstream/125.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mobile/android/modules/geckoview/GeckoViewTranslations.sys.mjs')
-rw-r--r--mobile/android/modules/geckoview/GeckoViewTranslations.sys.mjs8
1 files changed, 4 insertions, 4 deletions
diff --git a/mobile/android/modules/geckoview/GeckoViewTranslations.sys.mjs b/mobile/android/modules/geckoview/GeckoViewTranslations.sys.mjs
index 3db694a64a..7e74e7bf30 100644
--- a/mobile/android/modules/geckoview/GeckoViewTranslations.sys.mjs
+++ b/mobile/android/modules/geckoview/GeckoViewTranslations.sys.mjs
@@ -182,7 +182,7 @@ export const GeckoViewTranslationsSettings = {
if (operation === "delete") {
if (operationLevel === "all") {
lazy.TranslationsParent.deleteAllLanguageFiles().then(
- function (value) {
+ function () {
aCallback.onSuccess();
},
function (error) {
@@ -201,7 +201,7 @@ export const GeckoViewTranslationsSettings = {
return;
}
lazy.TranslationsParent.deleteLanguageFiles(language).then(
- function (value) {
+ function () {
aCallback.onSuccess();
},
function (error) {
@@ -216,7 +216,7 @@ export const GeckoViewTranslationsSettings = {
if (operation === "download") {
if (operationLevel === "all") {
lazy.TranslationsParent.downloadAllFiles().then(
- function (value) {
+ function () {
aCallback.onSuccess();
},
function (error) {
@@ -235,7 +235,7 @@ export const GeckoViewTranslationsSettings = {
return;
}
lazy.TranslationsParent.downloadLanguageFiles(language).then(
- function (value) {
+ function () {
aCallback.onSuccess();
},
function (error) {