mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
commit
9b1e93114c
@ -659,7 +659,7 @@ public struct PeerInvitationImportersState: Equatable {
|
||||
public var count: Int32
|
||||
|
||||
public var waitingCount: Int {
|
||||
return importers.filter { $0.approvedBy == nil }.count
|
||||
return Int(count)
|
||||
}
|
||||
|
||||
public static var Empty = PeerInvitationImportersState(importers: [], isLoadingMore: false, hasLoadedOnce: true, canLoadMore: false, count: 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user