d8fb6b893f
* Migrate Updates screen to compose * Review Changes + Cleanup Remove more unused stuff and show confirmation dialog when mass deleting chapters * Review Changes 2 + Rebase
14 lines
243 B
Kotlin
14 lines
243 B
Kotlin
package eu.kanade.presentation.util
|
|
|
|
enum class NavBarVisibility {
|
|
SHOW,
|
|
HIDE
|
|
}
|
|
|
|
fun NavBarVisibility.toBoolean(): Boolean {
|
|
return when (this) {
|
|
NavBarVisibility.SHOW -> true
|
|
NavBarVisibility.HIDE -> false
|
|
}
|
|
}
|