From a2aa7b0ba84e4c39cfb8aa614dfd824d91fba2ab Mon Sep 17 00:00:00 2001 From: Bnyro Date: Sat, 10 Sep 2022 16:58:51 +0200 Subject: [PATCH] fix time codes --- .../main/java/com/github/libretube/fragments/PlayerFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/github/libretube/fragments/PlayerFragment.kt b/app/src/main/java/com/github/libretube/fragments/PlayerFragment.kt index 670c4bba4..797900da1 100644 --- a/app/src/main/java/com/github/libretube/fragments/PlayerFragment.kt +++ b/app/src/main/java/com/github/libretube/fragments/PlayerFragment.kt @@ -534,7 +534,7 @@ class PlayerFragment : BaseFragment() { // share button binding.relPlayerShare.setOnClickListener { - val shareDialog = ShareDialog(videoId!!, false, exoPlayer.currentPosition) + val shareDialog = ShareDialog(videoId!!, false, exoPlayer.currentPosition / 1000) shareDialog.show(childFragmentManager, ShareDialog::class.java.name) }