mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-06 03:50:19 +02:00
More code cleanup
This commit is contained in:
parent
f4681a7f37
commit
6b4d8cf6ea
22 changed files with 19 additions and 54 deletions
|
@ -68,7 +68,7 @@ public final class FBReader extends ZLAndroidActivity {
|
|||
synchronized (myPluginActions) {
|
||||
final FBReaderApp fbReader = (FBReaderApp)FBReaderApp.Instance();
|
||||
int index = 0;
|
||||
for (PluginApi.ActionInfo info : myPluginActions) {
|
||||
while (index < myPluginActions.size()) {
|
||||
fbReader.removeAction(PLUGIN_ACTION_PREFIX + index++);
|
||||
}
|
||||
myPluginActions.addAll(actions);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue