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:
Joe Bowser 2015-05-07 15:59:22 -07:00
parent b7750760f4
commit 6cc3d1f3fe

View File

@ -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