Skip to content

Commit

Permalink
partial disable of floating player
Browse files Browse the repository at this point in the history
  • Loading branch information
Bonfra04 committed Nov 6, 2024
1 parent c0f1c8f commit dc44ab4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/components/player/floating_player_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ class FloatingPlayerButton extends StatelessWidget with StronzPlayerControl {
if(EPlatform.isTV)
return const SizedBox.shrink();

// TODO: remove upon proper support
if(!EPlatform.isDesktop)
return const SizedBox.shrink();

return IconButton(
icon: const Icon(Icons.picture_in_picture_alt_rounded),
iconSize: this.iconSize,
Expand Down

0 comments on commit dc44ab4

Please sign in to comment.