CB-8345 Make default for splashscreen resource "screen" (which is what template and CLI assume it to be)
This commit is contained in:
parent
ba6730e594
commit
9b3f750085
@ -64,7 +64,7 @@ public class SplashScreen extends CordovaPlugin {
|
||||
getView().setVisibility(View.INVISIBLE);
|
||||
int drawableId = preferences.getInteger("SplashDrawableId", 0);
|
||||
if (drawableId == 0) {
|
||||
String splashResource = preferences.getString("SplashScreen", null);
|
||||
String splashResource = preferences.getString("SplashScreen", "screen");
|
||||
if (splashResource != null) {
|
||||
drawableId = cordova.getActivity().getResources().getIdentifier(splashResource, "drawable", cordova.getActivity().getClass().getPackage().getName());
|
||||
if (drawableId == 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user