mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Various fixes
This commit is contained in:
parent
57c7a4d521
commit
f74e2f1813
@ -178,7 +178,10 @@ public class ChatListItem: ListViewItem, ChatListSearchItemNeighbour {
|
||||
if case let .forum(_, _, threadIdValue, _, _) = self.index {
|
||||
threadId = threadIdValue
|
||||
}
|
||||
self.interaction.messageSelected(peer, threadId ?? message.threadId, message, promoInfo)
|
||||
if threadId == nil, self.interaction.searchTextHighightState != nil, case let .channel(channel) = peer, channel.flags.contains(.isForum) {
|
||||
threadId = message.threadId
|
||||
}
|
||||
self.interaction.messageSelected(peer, threadId, message, promoInfo)
|
||||
} else if let peer = peer.peer {
|
||||
self.interaction.peerSelected(peer, nil, nil, promoInfo)
|
||||
} else if let peer = peer.peers[peer.peerId] {
|
||||
|
@ -664,7 +664,7 @@ public func makeDefaultDarkPresentationTheme(extendingThemeReference: Presentati
|
||||
|
||||
let inputButtonPanel = PresentationThemeInputButtonPanel(
|
||||
panelSeparatorColor: UIColor(rgb: 0x545458, alpha: 0.3),
|
||||
panelBackgroundColor: UIColor(rgb: 0x141414, alpha: 0.65),
|
||||
panelBackgroundColor: UIColor(rgb: 0x141414, alpha: 0.85),
|
||||
buttonFillColor: UIColor(rgb: 0xe9e9e9, alpha: 0.85),
|
||||
buttonHighlightColor: UIColor(rgb: 0xffffff, alpha: 0.05),
|
||||
buttonStrokeColor: UIColor(rgb: 0x000000, alpha: 0.85),
|
||||
|
Loading…
x
Reference in New Issue
Block a user