mirror of
https://github.com/gedoor/legado.git
synced 2025-01-07 03:06:58 +08:00
优化
This commit is contained in:
parent
e4a13eb486
commit
d4f511578c
@ -50,8 +50,7 @@ class BookSourceAdapter(context: Context, val callBack: CallBack) :
|
||||
}
|
||||
|
||||
override fun areContentsTheSame(oldItem: BookSourcePart, newItem: BookSourcePart): Boolean {
|
||||
return !showSourceHost
|
||||
&& oldItem.bookSourceName == newItem.bookSourceName
|
||||
return oldItem.bookSourceName == newItem.bookSourceName
|
||||
&& oldItem.bookSourceGroup == newItem.bookSourceGroup
|
||||
&& oldItem.enabled == newItem.enabled
|
||||
&& oldItem.enabledExplore == newItem.enabledExplore
|
||||
|
Loading…
Reference in New Issue
Block a user