changeset 71:1876b5f8d922

remove textual charging indication from main screen in smallbw
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 23 Oct 2020 06:08:25 +0000
parents 032a561fab2b
children 7bf39f5e834d
files src/ui/bmi/mmiIdle.c
diffstat 1 files changed, 12 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ui/bmi/mmiIdle.c	Fri Oct 23 04:52:28 2020 +0000
+++ b/src/ui/bmi/mmiIdle.c	Fri Oct 23 06:08:25 2020 +0000
@@ -1955,6 +1955,15 @@
         switch (idle_data.nm_status)
         {
             case NETWORK_FULL_SERVICE :
+                /*
+                 * Verbal indication of "Charging..." / "Charging Complete"
+                 * removed in FreeCalypso: it is redundant with respect
+                 * to the battery icon (which will be animated or full
+                 * in these two respective states), it adds clutter
+                 * to the main screen, and it does not display properly
+                 * in the smallbw version.
+                 */
+              #ifdef LSCREEN
                 if (globalBatteryMode == BATT_STATE_CHARGING_COMPLETE)
                 {
                     idle_displayData(IDLE_CHARGING_MODE,TxtChargComplete,NULL);
@@ -1963,7 +1972,9 @@
                 {
                     idle_displayData(IDLE_CHARGING_MODE,TxtCharging,NULL);
                 }
-                else if (DivertStatus == MFW_CFLAG_SET)
+                else
+              #endif
+                if (DivertStatus == MFW_CFLAG_SET)
                 {
                     idle_displayData(IDLE_CHARGING_MODE,TxtCallDivert,NULL);
                 }