You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Fix OSUpdate
This commit is contained in:
@@ -223,11 +223,11 @@ class OSUpdate(Activity):
|
||||
# Determine button text based on version comparison
|
||||
if is_newer > 0:
|
||||
# Update version > installed OS version
|
||||
button_text = "Install\nnew\version"
|
||||
button_text = "Install\nnew\nversion"
|
||||
label = "newer"
|
||||
elif is_older > 0:
|
||||
# Update version < installed OS version
|
||||
button_text = "Install\nolder\nversion"
|
||||
button_text = "Install\nold\nversion"
|
||||
label = "older"
|
||||
else:
|
||||
# Update version == installed OS version (neither is newer than the other)
|
||||
|
||||
Reference in New Issue
Block a user