sync bug
This commit is contained in:
parent
339cbe3c53
commit
7fe206ea5d
1 changed files with 4 additions and 4 deletions
|
|
@ -1895,8 +1895,8 @@ class PlaylistItem(QFrame):
|
||||||
"""Store reference to the download modal"""
|
"""Store reference to the download modal"""
|
||||||
self.download_modal = modal
|
self.download_modal = modal
|
||||||
|
|
||||||
def update_sync_status(self, new_status):
|
def update_sync_status_text(self, new_status):
|
||||||
"""Update the sync status and style the label accordingly"""
|
"""Update the sync status text and style the label accordingly"""
|
||||||
self.sync_status = new_status
|
self.sync_status = new_status
|
||||||
if hasattr(self, 'sync_status_label'):
|
if hasattr(self, 'sync_status_label'):
|
||||||
self.sync_status_label.setText(new_status)
|
self.sync_status_label.setText(new_status)
|
||||||
|
|
@ -3084,10 +3084,10 @@ class SyncPage(QWidget):
|
||||||
sync_status = "Synced (legacy)"
|
sync_status = "Synced (legacy)"
|
||||||
|
|
||||||
# Update the playlist item's sync status
|
# Update the playlist item's sync status
|
||||||
playlist_item.update_sync_status(sync_status)
|
playlist_item.update_sync_status_text(sync_status)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
# Fallback to simple status if anything goes wrong
|
# Fallback to simple status if anything goes wrong
|
||||||
playlist_item.update_sync_status("Unknown")
|
playlist_item.update_sync_status_text("Unknown")
|
||||||
|
|
||||||
def animate_item_fade_in(self, item):
|
def animate_item_fade_in(self, item):
|
||||||
"""Add a subtle fade-in animation to playlist items"""
|
"""Add a subtle fade-in animation to playlist items"""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue