mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Hide birthday panel
This commit is contained in:
parent
26caedca6a
commit
755b3dbd48
@ -38,10 +38,10 @@ public func getServerProvidedSuggestions(account: Account) -> Signal<[ServerProv
|
|||||||
return []
|
return []
|
||||||
}
|
}
|
||||||
|
|
||||||
var list = listItems
|
// var list = listItems
|
||||||
list.append(ServerProvidedSuggestion.setupBirthday.rawValue)
|
// list.append(ServerProvidedSuggestion.setupBirthday.rawValue)
|
||||||
|
|
||||||
return list.compactMap { item -> ServerProvidedSuggestion? in
|
return listItems.compactMap { item -> ServerProvidedSuggestion? in
|
||||||
return ServerProvidedSuggestion(rawValue: item)
|
return ServerProvidedSuggestion(rawValue: item)
|
||||||
}.filter { !dismissedSuggestions.contains($0) }
|
}.filter { !dismissedSuggestions.contains($0) }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user