mirror of
https://github.com/MarekZegare4/MeshCore-Solo.git
synced 2026-10-19 12:02:03 +00:00
chore: Make sure lockscreen always wins
This commit is contained in:
@@ -3027,7 +3027,7 @@ void UITask::loop() {
|
|||||||
_next_refresh = millis() + delay_millis;
|
_next_refresh = millis() + delay_millis;
|
||||||
} else if (_locked && millis() >= _next_refresh && home) {
|
} else if (_locked && millis() >= _next_refresh && home) {
|
||||||
_display->startFrame();
|
_display->startFrame();
|
||||||
if (curr && curr != home) {
|
if (curr && curr != home && (millis() - ui_started_at < BOOT_SCREEN_MILLIS)) {
|
||||||
// Boot splash is still up on a boot-locked device
|
// Boot splash is still up on a boot-locked device
|
||||||
_next_refresh = millis() + curr->render(*_display);
|
_next_refresh = millis() + curr->render(*_display);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user