mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-01 14:33:00 +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,
|
||||
CallbackContext callbackContext
|
||||
) throws JSONException {
|
||||
if (action.equals("hide") && autoHide == false) {
|
||||
if (action.equals("hide") && !autoHide) {
|
||||
/*
|
||||
* The `.hide()` method can only be triggered if the `splashScreenAutoHide`
|
||||
* is set to `false`.
|
||||
|
Loading…
Reference in New Issue
Block a user