优化
This commit is contained in:
1 parent
7b4e92f578
commit
9f690dcd38
1 file changed
+5
@@ -138,6 +138,11 @@ data class SearchScope(private var scope: String) {
|
||||
|
||||
fun save() {
|
||||
AppConfig.searchScope = scope
|
||||
if (isAll()) {
|
||||
AppConfig.searchGroup = ""
|
||||
} else if (!isSource() && !scope.contains(",")) {
|
||||
AppConfig.searchGroup = scope
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user