mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
[WIP] Quotes
This commit is contained in:
@@ -5311,9 +5311,15 @@ public final class ChatControllerImpl: TelegramBaseController, ChatController, G
|
||||
return nil
|
||||
}
|
||||
}
|
||||
case .reply:
|
||||
//TODO:localize
|
||||
subtitleTextSignal = .single("You can select a specific part to quote")
|
||||
case let .reply(reply):
|
||||
subtitleTextSignal = reply.selectionState.get()
|
||||
|> map { selectionState -> String? in
|
||||
if !selectionState.canQuote {
|
||||
return nil
|
||||
}
|
||||
//TODO:localize
|
||||
return "You can select a specific part to quote"
|
||||
}
|
||||
case let .link(link):
|
||||
subtitleTextSignal = link.options
|
||||
|> map { options -> String? in
|
||||
|
||||
Reference in New Issue
Block a user