From a6aa82892d7ec68f42004fc7f69d2c9fbcebf558 Mon Sep 17 00:00:00 2001 From: dhk2 Date: Sun, 28 Jun 2020 07:55:07 -0700 Subject: [PATCH] fixing duplicate controlelrs --- .../java/net/schueller/peertube/activity/VideoPlayActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/net/schueller/peertube/activity/VideoPlayActivity.java b/app/src/main/java/net/schueller/peertube/activity/VideoPlayActivity.java index 1a22981..45cddf7 100644 --- a/app/src/main/java/net/schueller/peertube/activity/VideoPlayActivity.java +++ b/app/src/main/java/net/schueller/peertube/activity/VideoPlayActivity.java @@ -108,7 +108,7 @@ public class VideoPlayActivity extends AppCompatActivity { protected void onNewIntent(Intent intent) { super.onNewIntent(intent); setIntent(intent); - VideoPlayerFragment videoPlayerFragment = (VideoPlayerFragment) + VideoPlayerFragment videoPlayerFragment = (VideoPlayerFragment) getSupportFragmentManager().findFragmentById(R.id.video_player_fragment); assert videoPlayerFragment != null; String videoUuid = intent.getStringExtra(VideoListActivity.EXTRA_VIDEOID);