@ -112,22 +112,15 @@ public class TorrentsFragment extends SherlockFragment {
@@ -112,22 +112,15 @@ public class TorrentsFragment extends SherlockFragment {
@ -136,15 +129,18 @@ public class TorrentsFragment extends SherlockFragment {
@@ -136,15 +129,18 @@ public class TorrentsFragment extends SherlockFragment {
this.currentNavigationFilter=newFilter;
applyAllFilters();
}
privatevoidapplyAllFilters(){
// No torrents? Directly update views accordingly
// No torrents? Directly update views accordingly
if(torrents==null){
updateViewVisibility();
return;
}
// Get the server daemon type directly form the local list of torrents, if it's not empty
@ -162,6 +158,11 @@ public class TorrentsFragment extends SherlockFragment {
@@ -162,6 +158,11 @@ public class TorrentsFragment extends SherlockFragment {
@ -237,7 +238,7 @@ public class TorrentsFragment extends SherlockFragment {
@@ -237,7 +238,7 @@ public class TorrentsFragment extends SherlockFragment {