summaryrefslogtreecommitdiffstats
path: root/mobile/android/modules/geckoview/GeckoViewTranslations.sys.mjs
diff options
context:
space:
mode:
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) {