diff --git a/app/src/main/java/com/github/libretube/ui/fragments/AudioPlayerFragment.kt b/app/src/main/java/com/github/libretube/ui/fragments/AudioPlayerFragment.kt index 85c5886d18..e4d86dd24a 100644 --- a/app/src/main/java/com/github/libretube/ui/fragments/AudioPlayerFragment.kt +++ b/app/src/main/java/com/github/libretube/ui/fragments/AudioPlayerFragment.kt @@ -181,7 +181,7 @@ class AudioPlayerFragment : Fragment(), AudioPlayerOptions { val bundle = bundleOf( IntentData.id to currentVideo.url!!.toID(), IntentData.shareObjectType to ShareObjectType.VIDEO, - IntentData.shareData to ShareData(currentVideo = currentVideo.title), + IntentData.shareData to ShareData(currentVideo = currentVideo.title) ) val newShareDialog = ShareDialog() newShareDialog.arguments = bundle diff --git a/app/src/main/java/com/github/libretube/ui/fragments/ChannelFragment.kt b/app/src/main/java/com/github/libretube/ui/fragments/ChannelFragment.kt index cf0cda7c90..f2e4b2e3dc 100644 --- a/app/src/main/java/com/github/libretube/ui/fragments/ChannelFragment.kt +++ b/app/src/main/java/com/github/libretube/ui/fragments/ChannelFragment.kt @@ -158,7 +158,7 @@ class ChannelFragment : Fragment() { val bundle = bundleOf( IntentData.id to channelId.toID(), IntentData.shareObjectType to ShareObjectType.CHANNEL, - IntentData.shareData to shareData, + IntentData.shareData to shareData ) val newShareDialog = ShareDialog() newShareDialog.arguments = bundle diff --git a/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt b/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt index 1f9993d166..1e1d9dc36d 100644 --- a/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt +++ b/app/src/main/java/com/github/libretube/ui/fragments/PlayerFragment.kt @@ -450,7 +450,7 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions { IntentData.shareData to ShareData( currentVideo = streams.title, currentPosition = exoPlayer.currentPosition / 1000 - ), + ) ) val newShareDialog = ShareDialog() newShareDialog.arguments = bundle @@ -760,7 +760,7 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions { if (binding.playerMotionLayout.progress != 1.0f) { // show controllers when not in picture in picture mode val inPipMode = PlayerHelper.pipEnabled && - PictureInPictureCompat.isInPictureInPictureMode(requireActivity()) + PictureInPictureCompat.isInPictureInPictureMode(requireActivity()) if (!inPipMode) { binding.player.useController = true } @@ -1026,8 +1026,8 @@ class PlayerFragment : Fragment(), OnlinePlayerOptions { }.orEmpty() binding.additionalVideoInfo.text = "${context?.getString(R.string.category)}: ${streams.category}\n" + - "${context?.getString(R.string.license)}: ${streams.license}\n" + - "${context?.getString(R.string.visibility)}: $visibility" + "${context?.getString(R.string.license)}: ${streams.license}\n" + + "${context?.getString(R.string.visibility)}: $visibility" if (streams.tags.isNotEmpty()) { binding.tagsRecycler.layoutManager = diff --git a/app/src/main/java/com/github/libretube/ui/sheets/ChannelOptionsBottomSheet.kt b/app/src/main/java/com/github/libretube/ui/sheets/ChannelOptionsBottomSheet.kt index 24d3c0bf0c..0355db4aec 100644 --- a/app/src/main/java/com/github/libretube/ui/sheets/ChannelOptionsBottomSheet.kt +++ b/app/src/main/java/com/github/libretube/ui/sheets/ChannelOptionsBottomSheet.kt @@ -42,7 +42,7 @@ class ChannelOptionsBottomSheet( val bundle = bundleOf( IntentData.id to channelId, IntentData.shareObjectType to ShareObjectType.CHANNEL, - IntentData.shareData to shareData, + IntentData.shareData to shareData ) val newShareDialog = ShareDialog() newShareDialog.arguments = bundle diff --git a/app/src/main/java/com/github/libretube/ui/sheets/DownloadOptionsBottomSheet.kt b/app/src/main/java/com/github/libretube/ui/sheets/DownloadOptionsBottomSheet.kt index b2b2309e48..f7fe98c03d 100644 --- a/app/src/main/java/com/github/libretube/ui/sheets/DownloadOptionsBottomSheet.kt +++ b/app/src/main/java/com/github/libretube/ui/sheets/DownloadOptionsBottomSheet.kt @@ -42,7 +42,7 @@ class DownloadOptionsBottomSheet( val bundle = bundleOf( IntentData.id to download.videoId, IntentData.shareObjectType to ShareObjectType.CHANNEL, - IntentData.shareData to shareData, + IntentData.shareData to shareData ) val newShareDialog = ShareDialog() newShareDialog.arguments = bundle diff --git a/app/src/main/java/com/github/libretube/ui/sheets/PlaylistOptionsBottomSheet.kt b/app/src/main/java/com/github/libretube/ui/sheets/PlaylistOptionsBottomSheet.kt index 4f6c4dccd6..57ddf941bf 100644 --- a/app/src/main/java/com/github/libretube/ui/sheets/PlaylistOptionsBottomSheet.kt +++ b/app/src/main/java/com/github/libretube/ui/sheets/PlaylistOptionsBottomSheet.kt @@ -93,7 +93,7 @@ class PlaylistOptionsBottomSheet( val bundle = bundleOf( IntentData.id to playlistId, IntentData.shareObjectType to ShareObjectType.PLAYLIST, - IntentData.shareData to shareData, + IntentData.shareData to shareData ) val newShareDialog = ShareDialog() newShareDialog.arguments = bundle diff --git a/app/src/main/java/com/github/libretube/ui/sheets/VideoOptionsBottomSheet.kt b/app/src/main/java/com/github/libretube/ui/sheets/VideoOptionsBottomSheet.kt index 7157655dbb..05edd3bb56 100644 --- a/app/src/main/java/com/github/libretube/ui/sheets/VideoOptionsBottomSheet.kt +++ b/app/src/main/java/com/github/libretube/ui/sheets/VideoOptionsBottomSheet.kt @@ -101,7 +101,7 @@ class VideoOptionsBottomSheet( val bundle = bundleOf( IntentData.id to videoId, IntentData.shareObjectType to ShareObjectType.VIDEO, - IntentData.shareData to shareData, + IntentData.shareData to shareData ) val newShareDialog = ShareDialog() newShareDialog.arguments = bundle