Skip to content

Commit

Permalink
1.9.4 (416)
Browse files Browse the repository at this point in the history
  • Loading branch information
denis15yo committed Jan 13, 2025
1 parent 6878a3e commit 6f44701
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
5 changes: 4 additions & 1 deletion submodules/TelegramUI/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,11 @@ NGDEPS = [
"@swiftpkg_nicegram_assistant_ios//:FeatTgChatButton",
"@swiftpkg_nicegram_assistant_ios//:NGEntryPoint",
"@swiftpkg_nicegram_assistant_ios//:_NGRemoteConfig",
"//Nicegram/NGCollectInformation:NGCollectInformation",
"@swiftpkg_nicegram_assistant_ios//:FeatPersonalityUI",
"//Nicegram/NGCollectInformation:NGCollectInformation"
"@swiftpkg_nicegram_assistant_ios//:FeatPersonality",
"//Nicegram/NGPersonalityCore:NGPersonalityCore",
"//Nicegram/NGPersonality:NGPersonality",
]

load(
Expand Down
2 changes: 1 addition & 1 deletion submodules/TelegramUI/Sources/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ private class UserInterfaceStyleObserverWindow: UIWindow {
private let regularDeviceToken = Promise<Data?>(nil)
// MARK: Nicegram NCG-6903 Nicegram Personality
private let personalityInput = CurrentValueSubject<PersonalityContainer.Input, Never>(.refresh(0))
private let personalityOutput = CurrentValueSubject<Void, Never>(())//PassthroughSubject<Void, Never>()
private let personalityOutput = CurrentValueSubject<Void, Never>(())

func loadUserInformation(with context: AccountContext) {
let signal = context.engine.data.subscribe(TelegramEngine.EngineData.Item.Peer.Peer(id: context.account.peerId))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,6 @@ class NGDeeplinkHandler {
PersonalityPresenter().present()
}
return true
case "personality":
if #available(iOS 15.0, *) {
PersonalityPresenter().present()
}
return true
default:
return false
}
Expand Down

0 comments on commit 6f44701

Please sign in to comment.