parent
80c7a45328
commit
1b2c12385f
@ -1,17 +1,15 @@
|
|||||||
package eu.kanade.tachiyomi.ui.more
|
package eu.kanade.tachiyomi.ui.more
|
||||||
|
|
||||||
import androidx.compose.runtime.Composable
|
import androidx.compose.runtime.Composable
|
||||||
import androidx.compose.ui.input.nestedscroll.NestedScrollConnection
|
|
||||||
import eu.kanade.presentation.more.about.LicensesScreen
|
import eu.kanade.presentation.more.about.LicensesScreen
|
||||||
import eu.kanade.tachiyomi.R
|
import eu.kanade.tachiyomi.ui.base.controller.BasicFullComposeController
|
||||||
import eu.kanade.tachiyomi.ui.base.controller.BasicComposeController
|
|
||||||
|
|
||||||
class LicensesController : BasicComposeController() {
|
class LicensesController : BasicFullComposeController() {
|
||||||
|
|
||||||
override fun getTitle() = resources?.getString(R.string.licenses)
|
|
||||||
|
|
||||||
@Composable
|
@Composable
|
||||||
override fun ComposeContent(nestedScrollInterop: NestedScrollConnection) {
|
override fun ComposeContent() {
|
||||||
LicensesScreen(nestedScrollInterop = nestedScrollInterop)
|
LicensesScreen(
|
||||||
|
navigateUp = router::popCurrentController,
|
||||||
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in new issue