Migrate Updates screen to compose (#7534)
* Migrate Updates screen to compose * Review Changes + Cleanup Remove more unused stuff and show confirmation dialog when mass deleting chapters * Review Changes 2 + Rebase
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
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