🛠️ Fix issues with item selection in Library and Browse
This commit is contained in:
parent
6430fc4e51
commit
b57434aaa3
2 changed files with 1 additions and 1 deletions
|
|
@ -407,7 +407,6 @@ class BrowseModel @Inject constructor(
|
||||||
_state.update {
|
_state.update {
|
||||||
it.copy(
|
it.copy(
|
||||||
files = this,
|
files = this,
|
||||||
selectedItemsCount = 0,
|
|
||||||
hasSelectedItems = false,
|
hasSelectedItems = false,
|
||||||
isLoading = false
|
isLoading = false
|
||||||
)
|
)
|
||||||
|
|
|
||||||
|
|
@ -307,6 +307,7 @@ class LibraryModel @Inject constructor(
|
||||||
_state.update {
|
_state.update {
|
||||||
it.copy(
|
it.copy(
|
||||||
books = books,
|
books = books,
|
||||||
|
hasSelectedItems = false,
|
||||||
isLoading = false
|
isLoading = false
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue