Skip to content

Commit

Permalink
Improved code
Browse files Browse the repository at this point in the history
  • Loading branch information
gokadzev committed Nov 26, 2023
1 parent c9e82c9 commit 062c1b0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/screens/now_playing_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,7 @@ class _NowPlayingPageState extends State<NowPlayingPage> {
size.height * 0.018,
FontWeight.w500,
),
if (metadata.extras?['isLive'] != null && metadata.extras?['isLive'])
const SizedBox()
else
if (!(metadata.extras?['isLive'] ?? false))
_buildPlayer(size, audioId, metadata),
],
);
Expand Down

0 comments on commit 062c1b0

Please sign in to comment.