Skip to content

Commit

Permalink
sort stored mnemonics
Browse files Browse the repository at this point in the history
  • Loading branch information
odudex committed Dec 10, 2024
1 parent be25db5 commit 9b3bc70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/krux/pages/encryption_ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def load_from_storage(self, remove_opt=False):
sd_mnemonics = mnemonic_storage.list_mnemonics(sd_card=True)
del mnemonic_storage

for mnemonic_id in mnemonics:
for mnemonic_id in sorted(mnemonics):
mnemonic_ids_menu.append(
(
mnemonic_id + "(flash)",
Expand All @@ -249,7 +249,7 @@ def load_from_storage(self, remove_opt=False):
),
)
)
for mnemonic_id in sd_mnemonics:
for mnemonic_id in sorted(sd_mnemonics):
mnemonic_ids_menu.append(
(
mnemonic_id + "(SD card)",
Expand Down

0 comments on commit 9b3bc70

Please sign in to comment.