mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[settings] Translations and bug fixed
This commit is contained in:
@@ -181,10 +181,10 @@ void AboutController::willDisplayCellForIndex(HighlightCell * cell, int index) {
|
||||
MessageTableCellWithBuffer * myCell = (MessageTableCellWithBuffer *)cell;
|
||||
static const char * mpVersion = MICROPY_VERSION_STRING;
|
||||
|
||||
static char batteryLevel[15];
|
||||
int batteryLen = Poincare::Number::FloatNumber(Ion::Battery::voltage()).serialize(batteryLevel, 15, Poincare::Preferences::PrintFloatMode::Decimal, 3);
|
||||
static char batteryLevel[5];
|
||||
int batteryLen = Poincare::Number::FloatNumber(Ion::Battery::voltage()).serialize(batteryLevel, 4, Poincare::Preferences::PrintFloatMode::Decimal, 3);
|
||||
batteryLevel[batteryLen] = 'V';
|
||||
batteryLevel[batteryLen+1] = '\0';
|
||||
batteryLevel[batteryLen + 1] = '\0';
|
||||
|
||||
static const char * messages[] = {
|
||||
(const char*) Ion::username(),
|
||||
|
||||
Reference in New Issue
Block a user