@ -150,10 +150,10 @@ public class DetailsFragment extends Fragment implements OnTrackersUpdatedListen
@@ -150,10 +150,10 @@ public class DetailsFragment extends Fragment implements OnTrackersUpdatedListen
@ -74,8 +74,8 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener
@@ -74,8 +74,8 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener
protectedApplicationSettingsapplicationSettings;
@Bean
protectedSystemSettingssystemSettings;
@InstanceState
protectedArrayList<Torrent>torrents=null;
// HACK Working around #391 while hopefully we rework the UI in the future to persist the list in db or something
@ -144,7 +144,8 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener
@@ -144,7 +144,8 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener
@ -155,8 +156,9 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener
@@ -155,8 +156,9 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener
@ -166,7 +168,7 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener
@@ -166,7 +168,7 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener
}
// In case it was an update, add the updated torrent object
if(!wasRemoved){
this.torrents.add(affected);
torrents.add(affected);
}
// Now refresh the screen
applyAllFilters();
@ -178,7 +180,7 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener
@@ -178,7 +180,7 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener
@ -420,6 +422,7 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener
@@ -420,6 +422,7 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener
@ -440,6 +443,7 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener
@@ -440,6 +443,7 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener
clear(true,false);// Indirectly also calls updateViewVisibility()
@ -453,6 +457,7 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener
@@ -453,6 +457,7 @@ public class TorrentsFragment extends Fragment implements OnLabelPickedListener