mirror of
https://github.com/gedoor/legado.git
synced 2024-09-03 09:55:00 +08:00
优化
This commit is contained in:
parent
b743e00593
commit
e167a75747
@ -287,14 +287,8 @@ interface BookSourceDao {
|
||||
}
|
||||
|
||||
fun allGroups(): List<String> = dealGroups(allGroupsUnProcessed)
|
||||
// get() {
|
||||
// return dealGroups(allGroupsUnProcessed)
|
||||
// }
|
||||
|
||||
fun allEnabledGroups(): List<String> = dealGroups(allEnabledGroupsUnProcessed)
|
||||
// get() {
|
||||
// return dealGroups(allEnabledGroupsUnProcessed)
|
||||
// }
|
||||
|
||||
fun flowGroups(): Flow<List<String>> {
|
||||
return flowGroupsUnProcessed().map { list ->
|
||||
|
@ -98,9 +98,6 @@ interface ReplaceRuleDao {
|
||||
}
|
||||
|
||||
fun allGroups(): List<String> =dealGroups(allGroupsUnProcessed)
|
||||
// get() {
|
||||
// return dealGroups(allGroupsUnProcessed)
|
||||
// }
|
||||
|
||||
fun flowGroups(): Flow<List<String>> {
|
||||
return flowGroupsUnProcessed().map { list ->
|
||||
|
@ -128,10 +128,7 @@ interface RssSourceDao {
|
||||
}
|
||||
}
|
||||
|
||||
fun allGroups(): List<String> =dealGroups(allGroupsUnProcessed)
|
||||
// get() {
|
||||
// return dealGroups(allGroupsUnProcessed)
|
||||
// }
|
||||
fun allGroups(): List<String> = dealGroups(allGroupsUnProcessed)
|
||||
|
||||
fun flowGroups(): Flow<List<String>> {
|
||||
return flowGroupsUnProcessed().map { list ->
|
||||
|
Loading…
Reference in New Issue
Block a user