move finish according to code review

This commit is contained in:
f43nd1r 2019-11-18 15:15:39 +01:00
parent 35d6774706
commit 3baaf2a138
2 changed files with 4 additions and 4 deletions

View file

@ -1758,6 +1758,10 @@ public class AppDrawerX extends Dashboard implements EditTextIme.OnEditTextImeLi
zoomToOrigin(getCurrentRootItemLayout());
break;
case GlobalConfig.CLOSE_APP_DRAWER:
finish();
break;
default:
return super.runAction(engine, source, ea, il, itemView);
}

View file

@ -7313,10 +7313,6 @@ public class Dashboard extends ResourceWrapperActivity implements OnLongClickLis
mHierarchyScreen.show(null);
break;
case GlobalConfig.CLOSE_APP_DRAWER:
finish();
break;
default:
return super.runAction(engine, source, ea, il, itemView);
}