mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -170,12 +170,6 @@ class SearchContentActivity :
|
||||
IntentData.put("searchResult$key", searchResult)
|
||||
IntentData.put("searchResultList$key", viewModel.searchResultList)
|
||||
searchData.putExtra("key", key)
|
||||
|
||||
searchData.putExtra("searchResultIndex", viewModel.searchResultList.indexOf(searchResult))
|
||||
searchData.putExtra("chapterIndex", searchResult.chapterIndex)
|
||||
searchData.putExtra("contentPosition", searchResult.queryIndexInChapter)
|
||||
searchData.putExtra("query", searchResult.query)
|
||||
searchData.putExtra("resultCountWithinChapter", searchResult.resultCountWithinChapter)
|
||||
setResult(RESULT_OK, searchData)
|
||||
finish()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user