From 8da235c52a591a64dd831dbdb649175ed41305d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Natan?= <2270433+LeoNatan@users.noreply.github.com> Date: Sat, 13 Jul 2024 01:25:59 +0300 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b410fba..9d58327 100644 --- a/README.md +++ b/README.md @@ -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) } @@ -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)