mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Voice Chat UI improvements
This commit is contained in:
@@ -1245,11 +1245,7 @@ final class SharedApplicationContext {
|
||||
|> map { loggedOutAccountPeerIds -> (AccountManager, Set<PeerId>) in
|
||||
return (sharedContext.sharedContext.accountManager, loggedOutAccountPeerIds)
|
||||
}
|
||||
}).start(next: { [weak self] accountManager, loggedOutAccountPeerIds in
|
||||
guard let strongSelf = self else {
|
||||
return
|
||||
}
|
||||
|
||||
}).start(next: { accountManager, loggedOutAccountPeerIds in
|
||||
let _ = (updateIntentsSettingsInteractively(accountManager: accountManager) { current in
|
||||
var updated = current
|
||||
for peerId in loggedOutAccountPeerIds {
|
||||
@@ -1888,7 +1884,7 @@ final class SharedApplicationContext {
|
||||
|> take(1)
|
||||
|> deliverOnMainQueue).start(next: { sharedContext in
|
||||
let type = ApplicationShortcutItemType(rawValue: shortcutItem.type)
|
||||
var immediately = type == .account
|
||||
let immediately = type == .account
|
||||
let proceed: () -> Void = {
|
||||
let _ = (self.context.get()
|
||||
|> take(1)
|
||||
|
||||
Reference in New Issue
Block a user