Partly fix #66 (#82)

Removed the double V appearing sometimes
This commit is contained in:
lolocomotive
2021-11-17 12:19:44 +01:00
committed by GitHub
parent df7b97bb87
commit 918c9249db

View File

@@ -184,6 +184,7 @@ void AboutController::willDisplayCellForIndex(HighlightCell * cell, int index) {
static char batteryLevel[15];
int batteryLen = Poincare::Number::FloatNumber(Ion::Battery::voltage()).serialize(batteryLevel, 15, Poincare::Preferences::PrintFloatMode::Decimal, 3);
batteryLevel[batteryLen] = 'V';
batteryLevel[batteryLen+1] = '\0';
static const char * messages[] = {
(const char*) Ion::username(),