Skip to content

Commit

Permalink
fixed airgap_update_screen to allow multiple sequential updates (back…
Browse files Browse the repository at this point in the history
… to main and do it all again)
  • Loading branch information
qlrd committed Oct 26, 2024
1 parent 1ad1589 commit d1d7697
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/app/screens/airgap_update_screen.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,9 @@ def on_release(instance):

# pylint: disable=unused-argument
def on_leave(self, *args):
self.clear_widgets()
self.info("Clearing widgets")
self.clear_grid(wid=f"{self.id}_grid")
del self.ids[f"{self.id}_grid"]

Check warning on line 102 in src/app/screens/airgap_update_screen.py

View check run for this annotation

Codecov / codecov/patch

src/app/screens/airgap_update_screen.py#L100-L102

Added lines #L100 - L102 were not covered by tests

@property
def firmware_bin(self) -> str:
Expand Down

0 comments on commit d1d7697

Please sign in to comment.