mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Memory management issues
This commit is contained in:
@@ -20,7 +20,7 @@ final class ChatUnblockInputPanelNode: ChatInputPanelNode {
|
||||
didSet {
|
||||
if self.statusDisposable == nil {
|
||||
if let startingBot = self.interfaceInteraction?.statuses?.unblockingPeer {
|
||||
self.statusDisposable = (startingBot |> deliverOnMainQueue).start(next: { [weak self] value in
|
||||
self.statusDisposable = (startingBot |> deliverOnMainQueue).startStrict(next: { [weak self] value in
|
||||
if let strongSelf = self {
|
||||
if value != !strongSelf.activityIndicator.isHidden {
|
||||
if value {
|
||||
|
||||
Reference in New Issue
Block a user