mirror of
https://github.com/KRTirtho/spotube.git
synced 2025-09-12 23:45:18 +00:00
fix: null exception in album page navigated from /home
This commit is contained in:
parent
a35eece00c
commit
b495ed4ac0
@ -46,7 +46,8 @@ class AlbumPage extends HookConsumerWidget {
|
||||
},
|
||||
),
|
||||
routePath: "/album/${album.id}",
|
||||
shareUrl: album.externalUrls!.spotify!,
|
||||
shareUrl: album.externalUrls?.spotify ??
|
||||
"https://open.spotify.com/album/${album.id}",
|
||||
isLiked: isSavedAlbum.asData?.value ?? false,
|
||||
onHeart: isSavedAlbum.asData?.value == null
|
||||
? null
|
||||
|
Loading…
Reference in New Issue
Block a user