Skip to content

Commit

Permalink
rename to isNightModeActiveCompat
Browse files Browse the repository at this point in the history
  • Loading branch information
GuhDoy committed Dec 2, 2023
1 parent eb8cf86 commit d91c9e2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import android.content.res.Configuration
import android.os.Build
import android.view.View

val Configuration.isNightModeActivated
val Configuration.isNightModeActiveCompat
get() = if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.R) {
isNightModeActive
} else {
Expand Down

0 comments on commit d91c9e2

Please sign in to comment.