Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoNatan authored Jul 12, 2024
1 parent 41570a4 commit 8da235c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ Use `LNPopupContentHostingController` to create a popup content hosting controll

```swift
let controller = LNPopupContentHostingController {
MusicPlayer()
PlayerView(song: currentSong)
.popupTitle(currentSong.name, subtitle: currentSong.album.name)
.popupImage(currentSong.artwork ?? currentSong.album.artwork)
}
Expand All @@ -312,7 +312,7 @@ Or use `UIViewController.presentPopupBar(with:animated:)` directly:

```swift
tabBarController?.presentPopupBar(with: {
MusicPlayer()
PlayerView(song: currentSong)
.popupTitle(currentSong.name, subtitle: currentSong.album.name)
.popupImage(currentSong.artwork ?? currentSong.album.artwork)
}, animated: true)
Expand Down

0 comments on commit 8da235c

Please sign in to comment.