diff --git a/app/src/main/java/info/nightscout/androidaps/tabs/TabPageAdapter.java b/app/src/main/java/info/nightscout/androidaps/tabs/TabPageAdapter.java index 4f7b4a7a30..0ec2921a14 100644 --- a/app/src/main/java/info/nightscout/androidaps/tabs/TabPageAdapter.java +++ b/app/src/main/java/info/nightscout/androidaps/tabs/TabPageAdapter.java @@ -18,7 +18,6 @@ import info.nightscout.androidaps.interfaces.PluginBase; */ public class TabPageAdapter extends FragmentStatePagerAdapter { - ArrayList fragmentList = new ArrayList<>(); ArrayList visibleFragmentList = new ArrayList<>(); FragmentManager fm; @@ -62,7 +61,6 @@ public class TabPageAdapter extends FragmentStatePagerAdapter { } public void registerNewFragment(PluginBase plugin) { - fragmentList.add(plugin); if (plugin.isVisibleInTabs(plugin.getType())) { visibleFragmentList.add(plugin); notifyDataSetChanged();