Skip to content

Commit f0564ae

Browse files
authored
Update ViewController.cpp
Tweak when to display restoration banner
1 parent 025285c commit f0564ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/graphics/common/ViewController.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ bool ViewController::packetReceived(const meshtastic_MeshPacket &p)
882882
ILOG_DEBUG("loading all logs at once");
883883
int32_t percentage = log.current() * 100 / log.count();
884884
bool showPercentage = false;
885-
if (log.count() > 2 && percentage < 50) { // TODO: was 10
885+
if (log.count() > 3 && percentage < 80) {
886886
showPercentage = true;
887887
view->notifyRestoreMessages(percentage);
888888
}

0 commit comments

Comments
 (0)