From 3387477a4a5bacdae12f900614190779efb2a1a6 Mon Sep 17 00:00:00 2001 From: f-r00t Date: Tue, 20 Feb 2024 12:22:58 +0100 Subject: [PATCH] Updated responses from manual optimization --- src/SettingsScreen.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/SettingsScreen.js b/src/SettingsScreen.js index 0ec7595..48abe13 100644 --- a/src/SettingsScreen.js +++ b/src/SettingsScreen.js @@ -1421,6 +1421,8 @@ export class SettingsScreenNoTranslation extends React.Component { const result = await optimizeMessages(10, false); if (result === true) { toastPopUp(i18next.t('optimizationComplete')); + } else if (result === false) { + toastPopUp(i18next.t('optimizationFailed')); } else { toastPopUp(i18next.t('cancelOptimize').replace(/{inputs.length}/g, result)); }