* Use Compose on Global/Migrate Search screen - Refactor to use Voyager and Compose - Use sealed class for state - Somethings are broken/missing due to screens using different navigation libraries * Review changes
14 lines
341 B
Kotlin
14 lines
341 B
Kotlin
package eu.kanade.presentation.browse
|
|
|
|
import androidx.compose.runtime.Composable
|
|
import androidx.compose.ui.res.stringResource
|
|
import eu.kanade.presentation.components.Badge
|
|
import eu.kanade.tachiyomi.R
|
|
|
|
@Composable
|
|
fun InLibraryBadge(enabled: Boolean) {
|
|
if (enabled) {
|
|
Badge(text = stringResource(R.string.in_library))
|
|
}
|
|
}
|