mirror of
https://github.com/gedoor/legado.git
synced 2024-09-03 09:55:00 +08:00
优化
This commit is contained in:
parent
120dc86e39
commit
1445410c20
@ -98,8 +98,7 @@ class SearchViewModel(application: Application) : BaseViewModel(application) {
|
||||
//存在
|
||||
newDataS.forEach { item ->
|
||||
var hasSame = false
|
||||
for (i in copyDataS.indices) {
|
||||
val searchBook = copyDataS[i]
|
||||
for (searchBook in copyDataS) {
|
||||
if (item.name == searchBook.name
|
||||
&& item.author == searchBook.author
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user