CB-8904: Don't reset the static variable when it's destroyed, otherwise we might as well just have a member variable
This commit is contained in:
parent
b7750760f4
commit
6cc3d1f3fe
@ -117,7 +117,8 @@ public class SplashScreen extends CordovaPlugin {
|
|||||||
}
|
}
|
||||||
// hide the splash screen to avoid leaking a window
|
// hide the splash screen to avoid leaking a window
|
||||||
this.removeSplashScreen();
|
this.removeSplashScreen();
|
||||||
firstShow = true;
|
// If we set this to true onDestroy, we lose track when we go from page to page!
|
||||||
|
//firstShow = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user