Remove now unused position override

It gets overridden later anyway
This commit is contained in:
Riku Isokoski 2022-03-29 23:06:48 +03:00
parent 34858d0a6c
commit 36cb7c82f3

View file

@ -152,19 +152,16 @@ Music::~Music() {
void Music::Refresh() { void Music::Refresh() {
if (artist != musicService.getArtist()) { if (artist != musicService.getArtist()) {
artist = musicService.getArtist(); artist = musicService.getArtist();
currentPosition = 0;
lv_label_set_text(txtArtist, artist.data()); lv_label_set_text(txtArtist, artist.data());
} }
if (track != musicService.getTrack()) { if (track != musicService.getTrack()) {
track = musicService.getTrack(); track = musicService.getTrack();
currentPosition = 0;
lv_label_set_text(txtTrack, track.data()); lv_label_set_text(txtTrack, track.data());
} }
if (album != musicService.getAlbum()) { if (album != musicService.getAlbum()) {
album = musicService.getAlbum(); album = musicService.getAlbum();
currentPosition = 0;
} }
if (playing != musicService.isPlaying()) { if (playing != musicService.isPlaying()) {