Skip to content

Commit 023a316

Browse files
MusicPlayer app: fix end of song when app is closed
1 parent a4b56a3 commit 023a316

File tree

1 file changed

+1
-1
lines changed
  • internal_filesystem/apps/com.micropythonos.musicplayer/assets

1 file changed

+1
-1
lines changed

internal_filesystem/apps/com.micropythonos.musicplayer/assets/music_player.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,4 +126,4 @@ def player_finished(self, result=None):
126126
if result:
127127
text = result
128128
print(f"AudioPlayer finished: {text}")
129-
update_ui_threadsafe_if_foreground(self._filename_label.set_text, text)
129+
self.update_ui_threadsafe_if_foreground(self._filename_label.set_text, text)

0 commit comments

Comments
 (0)