Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Hide the menu badge when the item is in the playlist.
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon-T committed Aug 19, 2021
1 parent 5faa1a5 commit 10255f1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ extension BrowserViewController: PlaylistHelperDelegate {
toolbar?.menuButton.addBadge(.playlist, animated: true)
case .existingItem:
playlistButton.buttonState = shouldShowPlaylistURLBarButton ? .addedToPlaylist : .none
topToolbar.menuButton.addBadge(.playlist, animated: true)
toolbar?.menuButton.addBadge(.playlist, animated: true)
topToolbar.menuButton.removeBadge(.playlist, animated: true)
toolbar?.menuButton.removeBadge(.playlist, animated: true)
}
}
}
Expand Down

0 comments on commit 10255f1

Please sign in to comment.