diff --git a/app/src/main/java/com/dazuoye/filemanager/compose/ui/SearchFileColumn.kt b/app/src/main/java/com/dazuoye/filemanager/compose/ui/SearchFileColumn.kt index c09ae4c..66901c2 100644 --- a/app/src/main/java/com/dazuoye/filemanager/compose/ui/SearchFileColumn.kt +++ b/app/src/main/java/com/dazuoye/filemanager/compose/ui/SearchFileColumn.kt @@ -158,7 +158,8 @@ class SearchFileColumn( ) } } else { - DrawColumns(fileList, + DrawColumns( + fileList, searchText = searchText.value, onSearch = { name, searchWhat -> searchText.value = searchWhat @@ -201,7 +202,6 @@ class SearchFileColumn( @Composable private fun DrawColumns( fileList: List, - update: (() -> Unit)? = null, searchText: String = "", onSearch: ((String, String) -> Unit)? = null, onItemClick: ((String) -> Unit)? = null