mirror of
https://github.com/mastodon/mastodon-ios
synced 2025-04-11 22:58:02 +02:00
Remove a duplicate condition (#1021)
This commit is contained in:
parent
124638a0cb
commit
2214bb7342
@ -66,8 +66,6 @@ extension SearchResultViewModel {
|
||||
is State.Idle:
|
||||
let attribute = SearchResultItem.BottomLoaderAttribute(isEmptyResult: false)
|
||||
snapshot.appendItems([.bottomLoader(attribute: attribute)], toSection: .main)
|
||||
case is State.Fail:
|
||||
break
|
||||
case is State.NoMore:
|
||||
if snapshot.itemIdentifiers.isEmpty {
|
||||
let attribute = SearchResultItem.BottomLoaderAttribute(isEmptyResult: true)
|
||||
|
Loading…
x
Reference in New Issue
Block a user