Skip to content

Commit 394908f

Browse files
Cleanups
1 parent 71ab5d1 commit 394908f

File tree

2 files changed

+3
-6
lines changed
  • internal_filesystem

2 files changed

+3
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ def update_button_click(self, download_url, fullname):
329329

330330
def uninstall_app(self, app_fullname):
331331
self.install_button.add_state(lv.STATE.DISABLED)
332-
self.install_label.set_text("Please wait...") # TODO: Put "Cancel" if cancellation is possible
332+
self.install_label.set_text("Please wait...")
333333
self.progress_bar.remove_flag(lv.obj.FLAG.HIDDEN)
334334
self.progress_bar.set_value(42, True)
335335
PackageManager.uninstall_app(app_fullname)
@@ -344,7 +344,7 @@ def uninstall_app(self, app_fullname):
344344

345345
def download_and_install(self, zip_url, dest_folder, app_fullname):
346346
self.install_button.add_state(lv.STATE.DISABLED)
347-
self.install_label.set_text("Please wait...") # TODO: Put "Cancel" if cancellation is possible
347+
self.install_label.set_text("Please wait...")
348348
self.progress_bar.remove_flag(lv.obj.FLAG.HIDDEN)
349349
self.progress_bar.set_value(20, True)
350350
try:

internal_filesystem/lib/mpos/apps.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
from mpos.app.activity import Activity
99
from mpos.content.intent import Intent
1010
from mpos.content.pm import PackageManager
11-
# the code uses things like:
12-
# mpos.ui.set_foreground_app(fullname)
13-
# Activity.startActivity(None, Intent(activity_class=main_activity))
1411

1512
def good_stack_size():
1613
stacksize = 24*1024
@@ -81,7 +78,7 @@ def execute_script(script_source, is_file, cwd=None, classname=None):
8178

8279
""" Unused:
8380
# Run the script in a new thread:
84-
# TODO: check if the script exists here instead of launching a new thread?
81+
# NOTE: check if the script exists here instead of launching a new thread?
8582
def execute_script_new_thread(scriptname, is_file):
8683
print(f"main.py: execute_script_new_thread({scriptname},{is_file})")
8784
try:

0 commit comments

Comments
 (0)