From 468bae401903508eb3a4bae2703445db1d35fa79 Mon Sep 17 00:00:00 2001 From: Bazsalanszky Date: Thu, 29 Aug 2024 13:51:30 +0200 Subject: [PATCH] Fix crash on video autoplay This commit fixes the issue where the app crashes if autoplay is enabled and the user clicks on a post with a video. Closes #281 --- .../adapters/PostDetailRecyclerViewAdapter.java | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/toldi/infinityforlemmy/adapters/PostDetailRecyclerViewAdapter.java b/app/src/main/java/eu/toldi/infinityforlemmy/adapters/PostDetailRecyclerViewAdapter.java index 5fb655ed..f4a0bbe1 100644 --- a/app/src/main/java/eu/toldi/infinityforlemmy/adapters/PostDetailRecyclerViewAdapter.java +++ b/app/src/main/java/eu/toldi/infinityforlemmy/adapters/PostDetailRecyclerViewAdapter.java @@ -1802,7 +1802,9 @@ public class PostDetailRecyclerViewAdapter extends RecyclerView.Adapter