mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 23:57:39 +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;
|
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
|
||||||
|
|||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -396,4 +396,3 @@ void OpdsBookBrowserActivity::checkAndConnectWifi() {
|
|||||||
updateRequired = true;
|
updateRequired = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user