diff --git a/app/src/main/java/de/danoeh/antennapod/fragment/ItemFragment.java b/app/src/main/java/de/danoeh/antennapod/fragment/ItemFragment.java index 974cbb370..83dc0c554 100644 --- a/app/src/main/java/de/danoeh/antennapod/fragment/ItemFragment.java +++ b/app/src/main/java/de/danoeh/antennapod/fragment/ItemFragment.java @@ -270,7 +270,7 @@ public class ItemFragment extends Fragment { } private void onFragmentLoaded() { - if (webviewData != null) { + if (webviewData != null && !itemsLoaded) { webvDescription.loadDataWithBaseURL("https://127.0.0.1", webviewData, "text/html", "utf-8", "about:blank"); } updateAppearance(); @@ -420,8 +420,8 @@ public class ItemFragment extends Fragment { .subscribe(result -> { progbarLoading.setVisibility(View.GONE); item = result; - itemsLoaded = true; onFragmentLoaded(); + itemsLoaded = true; }, error -> Log.e(TAG, Log.getStackTraceString(error))); }