From 864100299d06917c5f0d5711484051adf9a3b43c Mon Sep 17 00:00:00 2001 From: Johannes Mockenhaupt Date: Sun, 28 Jan 2018 23:39:14 +0100 Subject: [PATCH] Set activity indicator for refresh button. --- .../nightscout/androidaps/plugins/PumpCombo/ComboFragment.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboFragment.java b/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboFragment.java index 4f4aa58460..cff810d382 100644 --- a/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboFragment.java +++ b/app/src/main/java/info/nightscout/androidaps/plugins/PumpCombo/ComboFragment.java @@ -75,6 +75,8 @@ public class ComboFragment extends SubscriberFragment implements View.OnClickLis public void onClick(View view) { switch (view.getId()) { case R.id.combo_refresh_button: + // TODO why is activity in ComboPump? + ComboPlugin.getPlugin().getPump().activity = MainApp.gs(R.string.combo_pump_action_refreshing); ConfigBuilderPlugin.getCommandQueue().readStatus("User request", null); break; case R.id.combo_alerts_button: