From 36cb7c82f3638a068f7affdd0a8d7380fdace8e3 Mon Sep 17 00:00:00 2001 From: Riku Isokoski Date: Tue, 29 Mar 2022 23:06:48 +0300 Subject: [PATCH] Remove now unused position override It gets overridden later anyway --- src/displayapp/screens/Music.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/displayapp/screens/Music.cpp b/src/displayapp/screens/Music.cpp index b789224b..194aeed5 100644 --- a/src/displayapp/screens/Music.cpp +++ b/src/displayapp/screens/Music.cpp @@ -152,19 +152,16 @@ Music::~Music() { void Music::Refresh() { if (artist != musicService.getArtist()) { artist = musicService.getArtist(); - currentPosition = 0; lv_label_set_text(txtArtist, artist.data()); } if (track != musicService.getTrack()) { track = musicService.getTrack(); - currentPosition = 0; lv_label_set_text(txtTrack, track.data()); } if (album != musicService.getAlbum()) { album = musicService.getAlbum(); - currentPosition = 0; } if (playing != musicService.isPlaying()) {