mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-10-09 03:20:48 +00:00
Various fixes
This commit is contained in:
parent
927d6ad0a8
commit
dc4b8cf999
@ -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";
|
||||
|
@ -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()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user