diff --git a/app/src/main/java/io/legado/app/utils/ActivityExtensions.kt b/app/src/main/java/io/legado/app/utils/ActivityExtensions.kt index 319f8ea54..89df3de47 100644 --- a/app/src/main/java/io/legado/app/utils/ActivityExtensions.kt +++ b/app/src/main/java/io/legado/app/utils/ActivityExtensions.kt @@ -74,6 +74,7 @@ val Activity.navigationBarHeight: Int /** * 返回导航栏位置 */ +@Suppress("DEPRECATION") val Activity.navigationBarPos: POS get() { if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {