Set activity indicator for refresh button.

This commit is contained in:
Johannes Mockenhaupt 2018-01-28 23:39:14 +01:00
parent 262fdf92c8
commit 864100299d
No known key found for this signature in database
GPG key ID: 9E1EA6AF7BBBB0D1

View file

@ -75,6 +75,8 @@ public class ComboFragment extends SubscriberFragment implements View.OnClickLis
public void onClick(View view) { public void onClick(View view) {
switch (view.getId()) { switch (view.getId()) {
case R.id.combo_refresh_button: 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); ConfigBuilderPlugin.getCommandQueue().readStatus("User request", null);
break; break;
case R.id.combo_alerts_button: case R.id.combo_alerts_button: