diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/Actions/ActionsFragment.java b/app/src/main/java/info/nightscout/androidaps/plugins/Actions/ActionsFragment.java index f18ca15be8..77e5b40250 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/Actions/ActionsFragment.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/Actions/ActionsFragment.java @@ -84,9 +84,6 @@ public class ActionsFragment extends Fragment implements View.OnClickListener { tempBasal.setOnClickListener(this); fill.setOnClickListener(this); - view.findViewById(R.id.actions_50_30).setOnClickListener(this); - view.findViewById(R.id.actions_400_15).setOnClickListener(this); - updateGUIIfVisible(); return view; } @@ -207,24 +204,6 @@ public class ActionsFragment extends Fragment implements View.OnClickListener { FillDialog fillDialog = new FillDialog(); fillDialog.show(manager, "FillDialog"); break; - case R.id.actions_50_30: - sHandler.post(new Runnable() { - @Override - public void run() { - DanaRv2Plugin danaRv2Plugin = (DanaRv2Plugin) MainApp.getSpecificPlugin(DanaRv2Plugin.class); - danaRv2Plugin.setHighTempBasalPercent(50); - } - }); - break; - case R.id.actions_400_15: - sHandler.post(new Runnable() { - @Override - public void run() { - DanaRv2Plugin danaRv2Plugin = (DanaRv2Plugin) MainApp.getSpecificPlugin(DanaRv2Plugin.class); - danaRv2Plugin.setHighTempBasalPercent(400); - } - }); - break; } } } diff --git a/app/src/main/res/layout/actions_fragment.xml b/app/src/main/res/layout/actions_fragment.xml index 71c7d9dd2f..5a0faa4099 100644 --- a/app/src/main/res/layout/actions_fragment.xml +++ b/app/src/main/res/layout/actions_fragment.xml @@ -8,114 +8,91 @@ android:layout_width="match_parent" android:layout_height="wrap_content"> - - -