diff --git a/app/src/main/java/com/sopt/umbba_android/application/UmbbaApplication.kt b/app/src/main/java/com/sopt/umbba_android/application/UmbbaApplication.kt index e5bcad97..ac3e80e5 100644 --- a/app/src/main/java/com/sopt/umbba_android/application/UmbbaApplication.kt +++ b/app/src/main/java/com/sopt/umbba_android/application/UmbbaApplication.kt @@ -9,9 +9,9 @@ import com.sopt.umbba_android.data.local.SharedPreferences class UmbbaApplication: Application() { override fun onCreate() { super.onCreate() - AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO) initKakao() setupSharedPreferences() + stopDarkMode() } private fun initKakao() { @@ -21,4 +21,8 @@ class UmbbaApplication: Application() { private fun setupSharedPreferences() { SharedPreferences.init(this) } + + private fun stopDarkMode() { + AppCompatDelegate.setDefaultNightMode(AppCompatDelegate.MODE_NIGHT_NO) + } } \ No newline at end of file