Merge pull request #1580 from triplem/suspend_fix
fix duplication of resume and reconnect
This commit is contained in:
commit
e0a592f968
|
@ -459,9 +459,11 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
|
|||
menu.add(MainApp.gs(R.string.suspendloopfor3h));
|
||||
menu.add(MainApp.gs(R.string.suspendloopfor10h));
|
||||
} else {
|
||||
if (!loopPlugin.isDisconnected()) {
|
||||
menu.add(MainApp.gs(R.string.resume));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!loopPlugin.isEnabled(PluginType.LOOP)) {
|
||||
menu.add(MainApp.gs(R.string.enableloop));
|
||||
|
|
Loading…
Reference in a new issue