Skip to content

Commit

Permalink
fixed track radio page not working
Browse files Browse the repository at this point in the history
  • Loading branch information
Nokse22 committed Apr 28, 2024
1 parent 89c0dca commit a6f3773
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/lib/variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ def is_favourited(item):

if isinstance(item, Track):
for fav in favourite_tracks:
print(fav.name)
if (fav.id == item.id):
return True

Expand Down
2 changes: 1 addition & 1 deletion src/pages/track_radio_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def _load_page(self):

builder.get_object("_play_button").connect("clicked", self.on_play_button_clicked)
builder.get_object("_shuffle_button").connect("clicked", self.on_shuffle_button_clicked)
builder.get_object("_in_to_my_collection_button").set_visible(False)
builder.get_object("_in_my_collection_button").set_visible(False)

image = builder.get_object("_image")
if isinstance(self.item, Track):
Expand Down

0 comments on commit a6f3773

Please sign in to comment.