diff --git a/core/common/src/main/java/com/teamwiney/core/common/util/RemoteConfigUtil.kt b/core/common/src/main/java/com/teamwiney/core/common/util/RemoteConfigUtil.kt index 5cf6f3d..cc5c7ff 100644 --- a/core/common/src/main/java/com/teamwiney/core/common/util/RemoteConfigUtil.kt +++ b/core/common/src/main/java/com/teamwiney/core/common/util/RemoteConfigUtil.kt @@ -75,7 +75,8 @@ object RemoteConfigUtil { fun showUpdateDialog( onForceUpdate: (String, String) -> Unit, onSoftUpdate: (String) -> Unit, - onOnceUpdate: (String) -> Unit + onOnceUpdate: (String) -> Unit, + onNormalLaunch: () -> Unit ) { when { currentVersionCode < minimumVersionCode -> { @@ -87,7 +88,7 @@ object RemoteConfigUtil { UpdateStrategy.FORCE -> onForceUpdate(latestVersionName, updateContent) UpdateStrategy.SOFT -> onSoftUpdate(latestVersionName) UpdateStrategy.ONCE -> onOnceUpdate(latestVersionName) - else -> return + else -> onNormalLaunch() } } } diff --git a/feature/auth/src/main/java/com/teamwiney/auth/splash/SplashViewModel.kt b/feature/auth/src/main/java/com/teamwiney/auth/splash/SplashViewModel.kt index caf13ba..0c76467 100644 --- a/feature/auth/src/main/java/com/teamwiney/auth/splash/SplashViewModel.kt +++ b/feature/auth/src/main/java/com/teamwiney/auth/splash/SplashViewModel.kt @@ -166,6 +166,9 @@ class SplashViewModel @Inject constructor( } } checkUserStatus() + }, + onNormalLaunch = { + checkUserStatus() } ) }