Various improvements

This commit is contained in:
Ilya Laktyushin
2025-09-29 06:42:09 +04:00
parent 88068f3ccc
commit d126717ec1
15 changed files with 306 additions and 137 deletions

View File

@@ -249,7 +249,7 @@ extension VideoChatScreenComponent.View {
iconName = "Call/ToastMessagesDisabled"
text = environment.strings.VoiceChat_ToastMessagesDisabled
}
self.displayToast(icon: .icon(iconName), text: text, duration: 3)
self.presentToast(icon: .icon(iconName), text: text, duration: 3)
})))
}
@@ -483,7 +483,7 @@ extension VideoChatScreenComponent.View {
text = environment.strings.VoiceChat_RecordingStarted
}
self.presentUndoOverlay(content: .voiceChatRecording(text: text), action: { _ in return false })
self.presentToast(icon: .animation("anim_vcrecord"), text: text, duration: 3)
groupCall.playTone(.recordingStarted)
})
environment.controller()?.present(controller, in: .window(.root))