solve #1449
This commit is contained in:
parent
91610e40e5
commit
43fcfaf5d6
|
@ -461,15 +461,18 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
|
|||
menu.add(MainApp.gs(R.string.disconnectpumpfor15m));
|
||||
if (pumpDescription.tempDurationStep30mAllowed)
|
||||
menu.add(MainApp.gs(R.string.disconnectpumpfor30m));
|
||||
menu.add(MainApp.gs(R.string.disconnectpumpfor1h));
|
||||
menu.add(MainApp.gs(R.string.disconnectpumpfor2h));
|
||||
menu.add(MainApp.gs(R.string.disconnectpumpfor3h));
|
||||
} else {
|
||||
menu.add(MainApp.gs(R.string.resume));
|
||||
}
|
||||
}
|
||||
if (!loopPlugin.isEnabled(PluginType.LOOP))
|
||||
menu.add(MainApp.gs(R.string.enableloop));
|
||||
|
||||
// menu-items visible even if loop is disabled (#1449)
|
||||
menu.add(MainApp.gs(R.string.disconnectpumpfor1h));
|
||||
menu.add(MainApp.gs(R.string.disconnectpumpfor2h));
|
||||
menu.add(MainApp.gs(R.string.disconnectpumpfor3h));
|
||||
|
||||
} else if (v == activeProfileView) {
|
||||
menu.setHeaderTitle(MainApp.gs(R.string.profile));
|
||||
menu.add(MainApp.gs(R.string.danar_viewprofile));
|
||||
|
|
Loading…
Reference in a new issue