mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2026-04-20 17:47:03 -04:00
Fix crash due to assuming the handleview is non-null
This commit is contained in:
@@ -32,7 +32,8 @@ public class ControlLayout extends FrameLayout
|
||||
|
||||
public void hideAllHandleViews() {
|
||||
for(ControlButton button : getButtonChildren()){
|
||||
button.getHandleView().hide();
|
||||
HandleView hv = button.getHandleView();
|
||||
if(hv != null) hv.hide();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user