Various fixes

This commit is contained in:
Ilya Laktyushin 2025-08-19 12:12:22 +04:00
parent 927d6ad0a8
commit dc4b8cf999
3 changed files with 6 additions and 12 deletions

View File

@ -14913,6 +14913,6 @@ Sorry for the inconvenience.";
"Gift.View.Unknown.Title" = "Gift";
"Conversation.StopVoiceMessageTitle" = "Audio Recording";
"Conversation.StopVoiceMessageDescription" = "Are you sure you want to stop recording?";
"Conversation.StopVoiceMessageDescription" = "Are you sure you want to pause recording?";
"Conversation.StopVoiceMessageDiscardAction" = "Discard";
"Conversation.StopVoiceMessagePauseAction" = "Pause";

View File

@ -664,7 +664,11 @@ extension ChatControllerImpl {
if let channel = self.presentationInterfaceState.renderedPeer?.peer as? TelegramChannel, channel.isForumOrMonoForum, self.presentationInterfaceState.persistentData.topicListPanelLocation == true, self.presentationInterfaceState.chatLocation.threadId != nil {
self.updateChatLocationThread(threadId: nil, animationDirection: .left)
} else {
self.dismiss()
if self.attemptNavigation({ [weak self] in
self?.dismiss()
}) {
self.dismiss()
}
}
}

View File

@ -9826,16 +9826,6 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
}
}
),
TextAlertAction(
type: .destructiveAction,
title: self.presentationData.strings.Conversation_StopVoiceMessageDiscardAction,
action: { [weak self] in
self?.stopMediaRecorder()
Queue.mainQueue().after(0.1) {
action()
}
}
),
TextAlertAction(
type: .genericAction,
title: self.presentationData.strings.Common_Cancel,