fix duplication of resume and reconnect
This commit is contained in:
parent
d750438cd3
commit
2693797bbd
|
@ -459,7 +459,9 @@ public class OverviewFragment extends Fragment implements View.OnClickListener,
|
||||||
menu.add(MainApp.gs(R.string.suspendloopfor3h));
|
menu.add(MainApp.gs(R.string.suspendloopfor3h));
|
||||||
menu.add(MainApp.gs(R.string.suspendloopfor10h));
|
menu.add(MainApp.gs(R.string.suspendloopfor10h));
|
||||||
} else {
|
} else {
|
||||||
menu.add(MainApp.gs(R.string.resume));
|
if (!loopPlugin.isDisconnected()) {
|
||||||
|
menu.add(MainApp.gs(R.string.resume));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue