formatting and removed getReaderScreenMargin as it was never used

I wasn't 100% sure this wasn't left over from me but gitblame says it came from someone else. Either way I don't see anywhere it's used so I THINK it's dead code
This commit is contained in:
Justin Mitchell 2026-01-05 11:56:42 -05:00
parent a19c6960a7
commit bc04c71f18
3 changed files with 1 additions and 3 deletions

View File

@ -97,7 +97,6 @@ class CrossPointSettings {
float getReaderLineCompression() const; float getReaderLineCompression() const;
unsigned long getSleepTimeoutMs() const; unsigned long getSleepTimeoutMs() const;
int getRefreshFrequency() const; int getRefreshFrequency() const;
int getReaderScreenMargin() const;
}; };
// Helper macro to access settings // Helper macro to access settings

View File

@ -42,7 +42,7 @@ void ScreenComponents::drawBattery(const GfxRenderer& renderer, const int left,
} }
void ScreenComponents::drawProgressBar(const GfxRenderer& renderer, const int x, const int y, const int width, void ScreenComponents::drawProgressBar(const GfxRenderer& renderer, const int x, const int y, const int width,
const int height, const size_t current, const size_t total) { const int height, const size_t current, const size_t total) {
if (total == 0) { if (total == 0) {
return; return;
} }

View File

@ -396,4 +396,3 @@ void OpdsBookBrowserActivity::checkAndConnectWifi() {
updateRequired = true; updateRequired = true;
} }
} }