Skip to content

Commit fdeeff3

Browse files
Android: isFullScreen option without scaleType
1 parent 93041d5 commit fdeeff3

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

android/src/main/java/com/reactnativecomponent/splashscreen/RCTSplashScreen.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,11 @@ protected static Activity getActivity() {
3232
}
3333

3434
public static void openSplashScreen(Activity activity) {
35-
openSplashScreen(activity, false, ImageView.ScaleType.CENTER_CROP);
35+
openSplashScreen(activity, false);
36+
}
37+
38+
public static void openSplashScreen(Activity activity, boolean isFullScreen) {
39+
openSplashScreen(activity, isFullScreen, ImageView.ScaleType.CENTER_CROP);
3640
}
3741

3842
public static void openSplashScreen(final Activity activity, final boolean isFullScreen, final ImageView.ScaleType scaleType) {

0 commit comments

Comments
 (0)