书架管理返回问题
This commit is contained in:
@@ -468,6 +468,7 @@ private fun BookshelfManageScreen(
|
||||
searchKey = ""
|
||||
}
|
||||
},
|
||||
onClearSelection = clearSelection,
|
||||
onSearchQueryChange = { searchKey = it },
|
||||
searchPlaceholder = "筛选书名/作者/书源/分组",
|
||||
topBarActions = {
|
||||
|
||||
@@ -55,6 +55,7 @@ fun <T> ListScaffold(
|
||||
topBarActions: @Composable RowScope.() -> Unit = {},
|
||||
bottomContent: @Composable (ColumnScope.(GlassTopAppBarScrollBehavior) -> Unit)? = null,
|
||||
dropDownMenuContent: @Composable (ColumnScope.(dismiss: () -> Unit) -> Unit)? = null,
|
||||
onClearSelection: (() -> Unit)? = null,
|
||||
selectionActions: SelectionActions? = null,
|
||||
onAddClick: (() -> Unit)? = null,
|
||||
floatingActionButton: @Composable () -> Unit = {
|
||||
@@ -99,7 +100,7 @@ fun <T> ListScaffold(
|
||||
onSearchSubmit = onSearchSubmit,
|
||||
searchTrailingIcon = searchTrailingIcon,
|
||||
searchPlaceholder = searchPlaceholder,
|
||||
onClearSelection = { selectionActions?.onClearSelection?.invoke() },
|
||||
onClearSelection = { onClearSelection?.invoke() ?: selectionActions?.onClearSelection?.invoke() },
|
||||
topBarActions = topBarActions,
|
||||
dropDownMenuContent = dropDownMenuContent,
|
||||
bottomContent = bottomContent
|
||||
|
||||
Reference in New Issue
Block a user