feat(greader): sort categories alphabetically during sync (#700)
Signed-off-by: Mark Bestavros <markbest@bu.edu>
This commit is contained in:
parent
a1e4383441
commit
4b42d2ed38
@ -229,6 +229,7 @@ class GoogleReaderRssService @Inject constructor(
|
||||
// 2. Fetch folder and subscription list
|
||||
googleReaderAPI.getSubscriptionList()
|
||||
.subscriptions.groupBy { it.categories?.first() }
|
||||
.toSortedMap { c1, c2 -> c1?.label.toString().compareTo(c2?.label.toString()) }
|
||||
.forEach { (category, feeds) ->
|
||||
val groupId =
|
||||
accountId.spacerDollar(category?.id?.ofCategoryStreamIdToId()!!)
|
||||
|
Loading…
x
Reference in New Issue
Block a user