mirror of
https://github.com/gedoor/legado.git
synced 2024-09-01 09:34:25 +08:00
优化导航栏位置
This commit is contained in:
parent
bcb5ebb18a
commit
d64f5b665c
@ -74,6 +74,7 @@ val Activity.navigationBarHeight: Int
|
||||
/**
|
||||
* 返回导航栏位置
|
||||
*/
|
||||
@Suppress("DEPRECATION")
|
||||
val Activity.navigationBarPos: POS
|
||||
get() {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
|
||||
|
Loading…
Reference in New Issue
Block a user