mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-12 03:58:56 +01:00
Remove bottom nav behavior and add bottom padding to root controller contents
This commit is contained in:
@@ -4,13 +4,12 @@ import androidx.compose.foundation.layout.PaddingValues
|
||||
import androidx.compose.ui.unit.dp
|
||||
|
||||
private val horizontal = 16.dp
|
||||
|
||||
private val vertical = 8.dp
|
||||
|
||||
val horizontalPadding = horizontal
|
||||
|
||||
val verticalPadding = vertical
|
||||
|
||||
val topPaddingValues = PaddingValues(top = vertical)
|
||||
val bottomNavPaddingValues = PaddingValues(bottom = 96.dp)
|
||||
|
||||
const val ReadItemAlpha = .38f
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
package eu.kanade.presentation.util
|
||||
|
||||
enum class NavBarVisibility {
|
||||
SHOW,
|
||||
HIDE
|
||||
}
|
||||
|
||||
fun NavBarVisibility.toBoolean(): Boolean {
|
||||
return when (this) {
|
||||
NavBarVisibility.SHOW -> true
|
||||
NavBarVisibility.HIDE -> false
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user