Skip to content

Commit

Permalink
[del] 스플래시 화면에서 사용하지 않는 함수 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeha committed Sep 1, 2023
1 parent 7ea25ad commit e6465cd
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import android.app.Activity
import android.content.Intent
import android.os.Build
import android.os.Bundle
import android.view.View
import android.view.WindowInsetsController
import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen
import androidx.core.view.ViewCompat
Expand Down Expand Up @@ -54,17 +53,6 @@ class SplashActivity : BindingActivity<ActivitySplashBinding>(R.layout.activity_
}
}

@Suppress("DEPRECATION")
fun setLightStatusBar(view: View, isLight: Boolean) {
var flags = view.systemUiVisibility
flags = if (isLight) {
flags or View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR
} else {
flags and View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR.inv()
}
view.systemUiVisibility = flags
}

private suspend fun checkAutoLogin() {
val accessToken = dataStoreRepository.getAccessToken().firstOrNull()
if (accessToken.isNullOrBlank()) {
Expand Down

0 comments on commit e6465cd

Please sign in to comment.