Reader Setting PlaceHolder
This commit is contained in:
1 parent
ae25018574
commit
e6a22d8ef4
1 file changed
+15
-1
@@ -86,7 +86,21 @@ fun ReaderScreen(info: BaseGalleryInfo, page: Int = -1, navigator: DestinationsN
|
||||
currentPage = syncState.sliderValue,
|
||||
totalPages = pageLoader.size,
|
||||
onSliderValueChange = { syncState.sliderScrollTo(it + 1) },
|
||||
onClickSettings = { },
|
||||
onClickSettings = {
|
||||
launch {
|
||||
dialog { cont ->
|
||||
fun dispose() = cont.resume(Unit)
|
||||
val state = rememberModalBottomSheetState()
|
||||
ModalBottomSheet(
|
||||
onDismissRequest = { dispose() },
|
||||
sheetState = state,
|
||||
windowInsets = WindowInsets(0),
|
||||
) {
|
||||
Spacer(modifier = Modifier.navigationBarsPadding())
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
modifier = Modifier.zIndex(1f),
|
||||
)
|
||||
CompositionLocalProvider(LocalTextStyle provides MaterialTheme.typography.bodySmall) {
|
||||
|
||||
Reference in new issue
Block a user