From 1b8daa68177b0f1d44a57dc87ba2126fc7c7bbd6 Mon Sep 17 00:00:00 2001 From: Twig N Date: Wed, 1 Apr 2020 19:58:56 +1100 Subject: [PATCH] ignore updateTorrents() and quickUpdateTorrent() if fragment is detached --- .../java/org/transdroid/core/gui/TorrentsFragment.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/app/src/main/java/org/transdroid/core/gui/TorrentsFragment.java b/app/src/main/java/org/transdroid/core/gui/TorrentsFragment.java index 89bc923a..9553e107 100644 --- a/app/src/main/java/org/transdroid/core/gui/TorrentsFragment.java +++ b/app/src/main/java/org/transdroid/core/gui/TorrentsFragment.java @@ -144,6 +144,10 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener * @param newTorrents The new, updated list of torrents */ public void updateTorrents(ArrayList newTorrents, ArrayList