mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-12-07 01:21:09 +01:00
Replace "if(" with "if ("
This commit is contained in:
parent
81d97c3584
commit
9cee71004f
15 changed files with 101 additions and 102 deletions
|
|
@ -123,14 +123,14 @@ public class TextSelectionHandleView extends View {
|
|||
coords[0] += mPointX;
|
||||
coords[1] += mPointY;
|
||||
|
||||
if(mHandle != null)
|
||||
if (mHandle != null)
|
||||
mHandle.showAtLocation(terminalView, 0, coords[0], coords[1]);
|
||||
}
|
||||
|
||||
public void hide() {
|
||||
mIsDragging = false;
|
||||
|
||||
if(mHandle != null) {
|
||||
if (mHandle != null) {
|
||||
mHandle.dismiss();
|
||||
|
||||
// We remove handle from its parent, otherwise it may still be shown in some cases even after the dismiss call
|
||||
|
|
@ -141,7 +141,7 @@ public class TextSelectionHandleView extends View {
|
|||
}
|
||||
|
||||
public void removeFromParent() {
|
||||
if(!isParentNull()) {
|
||||
if (!isParentNull()) {
|
||||
((ViewGroup)this.getParent()).removeView(this);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue