mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-05 15:17:37 +03:00
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:
parent
a19c6960a7
commit
bc04c71f18
@ -97,7 +97,6 @@ class CrossPointSettings {
|
||||
float getReaderLineCompression() const;
|
||||
unsigned long getSleepTimeoutMs() const;
|
||||
int getRefreshFrequency() const;
|
||||
int getReaderScreenMargin() const;
|
||||
};
|
||||
|
||||
// Helper macro to access settings
|
||||
|
||||
@ -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,
|
||||
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) {
|
||||
return;
|
||||
}
|
||||
|
||||
@ -396,4 +396,3 @@ void OpdsBookBrowserActivity::checkAndConnectWifi() {
|
||||
updateRequired = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user