Skip to content

Commit 860d7f0

Browse files
refactor: simplify splash screen handling by removing compatibility check
1 parent edf5990 commit 860d7f0

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

android/src/main/java/com/mendix/mendixnative/activity/MendixReactActivity.kt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import com.mendix.mendixnative.MendixApplication
1111
import com.mendix.mendixnative.MendixInitializer
1212
import com.mendix.mendixnative.react.MendixApp
1313
import com.mendix.mendixnative.react.splash.MendixSplashScreenPresenter
14-
import com.mendix.mendixnative.util.MendixBackwardsCompatUtility
1514
import java.io.Serializable
1615

1716
open class MendixReactActivity : ReactActivity(), DevAppMenuHandler, LaunchScreenHandler {
@@ -81,9 +80,7 @@ open class MendixReactActivity : ReactActivity(), DevAppMenuHandler, LaunchScree
8180
}
8281

8382
override fun showLaunchScreen() {
84-
if (!MendixBackwardsCompatUtility.getInstance().unsupportedFeatures.hideSplashScreenInClient && splashScreenPresenter != null) {
85-
splashScreenPresenter?.show(this)
86-
}
83+
splashScreenPresenter?.show(this)
8784
}
8885

8986
override fun hideLaunchScreen() {

0 commit comments

Comments
 (0)