mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-09 04:32:27 -04:00
Fix(control-editors): make sure the layout is instantiated before using it
This commit is contained in:
parent
fd6bea9b39
commit
bc7dfeacfd
@ -186,6 +186,11 @@ public abstract class SideDialogView {
|
||||
*/
|
||||
@CallSuper
|
||||
public final void disappear(boolean destroy) {
|
||||
if(!mIsInstantiated) {
|
||||
Log.w("SideDialogView", "Layout not inflated");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!mDisplaying) {
|
||||
if(destroy) {
|
||||
onDisappear();
|
||||
|
Loading…
x
Reference in New Issue
Block a user