mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-01 22:49:39 +08:00
refactor: remove pointless boolean expression
This commit is contained in:
parent
c175e4da4d
commit
f749e6bdd1
@ -92,7 +92,7 @@ public class SplashScreenPlugin extends CordovaPlugin {
|
|||||||
JSONArray args,
|
JSONArray args,
|
||||||
CallbackContext callbackContext
|
CallbackContext callbackContext
|
||||||
) throws JSONException {
|
) throws JSONException {
|
||||||
if (action.equals("hide") && autoHide == false) {
|
if (action.equals("hide") && !autoHide) {
|
||||||
/*
|
/*
|
||||||
* The `.hide()` method can only be triggered if the `splashScreenAutoHide`
|
* The `.hide()` method can only be triggered if the `splashScreenAutoHide`
|
||||||
* is set to `false`.
|
* is set to `false`.
|
||||||
|
Loading…
Reference in New Issue
Block a user