mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-09-15 03:53:43 +08:00
nav: clear last_banner on no gps
This commit is contained in:
@@ -536,6 +536,8 @@ void MapInstructions::updateGPSValid(bool valid) {
|
||||
secondary->setVisible(false);
|
||||
icon_01->setVisible(false);
|
||||
|
||||
last_banner = {};
|
||||
|
||||
setVisible(true);
|
||||
adjustSize();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user