mirror of
https://github.com/gedoor/legado.git
synced 2025-08-10 00:52:30 +00:00
优化
This commit is contained in:
@@ -143,9 +143,9 @@ data class SearchScope(private var scope: String) {
|
||||
|
||||
fun save() {
|
||||
AppConfig.searchScope = scope
|
||||
if (isAll()) {
|
||||
if (isAll() || isSource() || scope.contains(",")) {
|
||||
AppConfig.searchGroup = ""
|
||||
} else if (!isSource() && !scope.contains(",")) {
|
||||
} else {
|
||||
AppConfig.searchGroup = scope
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user