mirror of
https://github.com/eried/portapack-mayhem.git
synced 2024-10-01 01:26:06 -04:00
Read SD card status in SDCardStatusView constructor.
View was not showing correct status if card was present at boot.
This commit is contained in:
parent
5ddb99237e
commit
8fa8a26298
@ -33,7 +33,7 @@ SDCardStatusView::SDCardStatusView() {
|
|||||||
&text_status,
|
&text_status,
|
||||||
} });
|
} });
|
||||||
|
|
||||||
text_status.set("XX");
|
on_status(sd_card::status());
|
||||||
}
|
}
|
||||||
|
|
||||||
void SDCardStatusView::on_show() {
|
void SDCardStatusView::on_show() {
|
||||||
|
Loading…
Reference in New Issue
Block a user