Move battery status on home screen to top left (#253)

So it doesn't look so lost on a row on its own.

Also sligthly (1px) moved symbol in on reader view.
This commit is contained in:
Jonas Diemer
2026-01-08 22:57:50 +01:00
committed by GitHub
parent 0bae3bbf64
commit 7240cd52a9
2 changed files with 3 additions and 2 deletions

View File

@@ -332,7 +332,8 @@ void HomeActivity::render() const {
const auto labels = mappedInput.mapLabels("", "Confirm", "Up", "Down");
renderer.drawButtonHints(UI_10_FONT_ID, labels.btn1, labels.btn2, labels.btn3, labels.btn4);
ScreenComponents::drawBattery(renderer, 20, pageHeight - 70);
const auto batteryX = pageWidth - 25 - renderer.getTextWidth(SMALL_FONT_ID, "100 %");
ScreenComponents::drawBattery(renderer, batteryX, 10);
renderer.displayBuffer();
}

View File

@@ -437,7 +437,7 @@ void EpubReaderActivity::renderStatusBar(const int orientedMarginRight, const in
}
if (showBattery) {
ScreenComponents::drawBattery(renderer, orientedMarginLeft, textY);
ScreenComponents::drawBattery(renderer, orientedMarginLeft + 1, textY);
}
if (showChapterTitle) {