Skip to content

Commit 8488097

Browse files
OSUpdate: improve output
1 parent 67386df commit 8488097

File tree

1 file changed

+2
-2
lines changed
  • internal_filesystem/builtin/apps/com.micropythonos.osupdate/assets

1 file changed

+2
-2
lines changed

internal_filesystem/builtin/apps/com.micropythonos.osupdate/assets/osupdate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ def handle_update_info(self, version, download_url, changelog):
9999
self.download_update_url = download_url
100100
if compare_versions(version, mpos.info.CURRENT_OS_VERSION):
101101
#if True: # for testing
102-
label = "New "
102+
label = "New"
103103
self.install_button.remove_state(lv.STATE.DISABLED)
104104
else:
105-
label = "Same "
105+
label = "Same latest"
106106
if (self.force_update.get_state() & lv.STATE.CHECKED):
107107
self.install_button.remove_state(lv.STATE.DISABLED)
108108
label += f" version: {version}\n\nDetails:\n\n{changelog}"

0 commit comments

Comments
 (0)