Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9d46ac3

Browse files
fix launcher startup and tweak menu drawer
1 parentb79ce28 commit9d46ac3

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

‎internal_filesystem/lib/mpos/ui/topmenu.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@ def create_drawer(display=None):
204204
drawer.set_size(lv.pct(100),lv.pct(90))
205205
drawer.set_pos(0,NOTIFICATION_BAR_HEIGHT)
206206
drawer.set_scroll_dir(lv.DIR.VER)
207+
drawer.set_scrollbar_mode(lv.SCROLLBAR_MODE.OFF)
207208
drawer.set_style_pad_all(15,0)
208209
drawer.set_style_border_width(0,0)
209210
drawer.set_style_radius(0,0)

‎internal_filesystem/main.py‎

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,19 +44,16 @@
4444
# This will throw an exception if there is already a "/builtin" folder present
4545
print("main.py: WARNING: could not import/run freezefs_mount_builtin: ",e)
4646

47-
frommposimportapps
48-
49-
apps.execute_script("builtin/system/button.py",True)# Install button handler through IRQ
47+
mpos.apps.execute_script("builtin/system/button.py",True)# Install button handler through IRQ
5048

5149
try:
5250
importmpos.wifi
53-
importmpos.apps
5451
_thread.stack_size(mpos.apps.good_stack_size())
5552
_thread.start_new_thread(mpos.wifi.WifiService.auto_connect, ())
5653
exceptExceptionase:
5754
print(f"Couldn't start mpos.wifi.WifiService.auto_connect thread because:{e}")
5855

59-
apps.restart_launcher()
56+
mpos.apps.restart_launcher()
6057

6158
# If we got this far without crashing, then no need to rollback the update:
6259
try:

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp