diff --git a/photolibrary/src/main/java/top/limuyang2/photolibrary/activity/LBaseActivity.kt b/photolibrary/src/main/java/top/limuyang2/photolibrary/activity/LBaseActivity.kt index de20cff..d81ff7c 100755 --- a/photolibrary/src/main/java/top/limuyang2/photolibrary/activity/LBaseActivity.kt +++ b/photolibrary/src/main/java/top/limuyang2/photolibrary/activity/LBaseActivity.kt @@ -32,7 +32,7 @@ abstract class LBaseActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { setTheme(intentTheme) - if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { val display = window.windowManager.defaultDisplay