parent
beb95918da
commit
6d241495a2
|
@ -114,6 +114,7 @@ extension MastodonPickServerViewModel {
|
||||||
.assign(to: \.value, on: emptyStateViewState)
|
.assign(to: \.value, on: emptyStateViewState)
|
||||||
.store(in: &disposeBag)
|
.store(in: &disposeBag)
|
||||||
|
|
||||||
|
|
||||||
Publishers.CombineLatest4(
|
Publishers.CombineLatest4(
|
||||||
indexedServers.eraseToAnyPublisher(),
|
indexedServers.eraseToAnyPublisher(),
|
||||||
selectCategoryItem.eraseToAnyPublisher(),
|
selectCategoryItem.eraseToAnyPublisher(),
|
||||||
|
@ -127,6 +128,7 @@ extension MastodonPickServerViewModel {
|
||||||
)
|
)
|
||||||
.map { indexedServers, selectCategoryItem, searchText, filters -> [Mastodon.Entity.Server] in
|
.map { indexedServers, selectCategoryItem, searchText, filters -> [Mastodon.Entity.Server] in
|
||||||
// ignore approval required servers when sign-up
|
// ignore approval required servers when sign-up
|
||||||
|
var indexedServers = indexedServers
|
||||||
// Note:
|
// Note:
|
||||||
// sort by calculate last week users count
|
// sort by calculate last week users count
|
||||||
// and make medium size (~800) server to top
|
// and make medium size (~800) server to top
|
||||||
|
|
Loading…
Reference in New Issue