mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Various improvements
This commit is contained in:
@@ -161,7 +161,15 @@ extension ChatControllerImpl {
|
||||
self.window?.presentInGlobalOverlay(controller)
|
||||
})
|
||||
} else {
|
||||
if self.context.sharedContext.applicationBindings.appBuildType == .internal, case .custom(MessageReaction.starsReactionId) = value {
|
||||
var debug = false
|
||||
#if DEBUG
|
||||
debug = true
|
||||
#endif
|
||||
if self.context.sharedContext.applicationBindings.appBuildType == .internal {
|
||||
debug = true
|
||||
}
|
||||
|
||||
if debug, case .custom(MessageReaction.starsReactionId) = value {
|
||||
let _ = (ChatSendStarsScreen.initialData(context: self.context, peerId: message.id.peerId)
|
||||
|> deliverOnMainQueue).start(next: { [weak self] initialData in
|
||||
guard let self, let initialData else {
|
||||
|
||||
Reference in New Issue
Block a user