mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Merge commit '202274073fa5df7a5fbaa4621e3da054a1a0284b' into call-messages
This commit is contained in:
@@ -442,7 +442,7 @@ public final class HashtagListItemComponent: Component {
|
||||
}
|
||||
|
||||
if themeUpdated {
|
||||
let accentColor = UIColor(rgb: 0x007aff)
|
||||
let accentColor = UIColor(rgb: 0x0088ff)
|
||||
self.separatorLayer.backgroundColor = component.theme.list.itemPlainSeparatorColor.cgColor
|
||||
self.iconBackgroundLayer.backgroundColor = accentColor.cgColor
|
||||
self.iconLayer.layerTintColor = UIColor.white.cgColor
|
||||
|
||||
@@ -22,9 +22,6 @@ func inputContextQueries(_ inputState: TextFieldComponent.InputState) -> [ChatPr
|
||||
result.append(.hashtag(query))
|
||||
} else if possibleTypes == [.mention] {
|
||||
let types: ChatInputQueryMentionTypes = [.members]
|
||||
// if possibleQueryRange.lowerBound == 1 {
|
||||
// types.insert(.contextBots)
|
||||
// }
|
||||
result.append(.mention(query: query, types: types))
|
||||
} else if possibleTypes == [.command] {
|
||||
result.append(.command(query))
|
||||
|
||||
@@ -1076,8 +1076,7 @@ public final class MessageInputPanelComponent: Component {
|
||||
self.fieldBackgroundTint.isHidden = true
|
||||
}
|
||||
if let fieldGlassBackgroundView = self.fieldGlassBackgroundView {
|
||||
let backgroundColor = UIColor(rgb: 0x1b1d22)
|
||||
fieldGlassBackgroundView.update(size: fieldBackgroundFrame.size, cornerRadius: baseFieldHeight * 0.5, isDark: true, tintColor: backgroundColor, transition: transition)
|
||||
fieldGlassBackgroundView.update(size: fieldBackgroundFrame.size, cornerRadius: baseFieldHeight * 0.5, isDark: true, tintColor: .init(kind: .custom, color: UIColor(rgb: 0x1b1d22)), transition: transition)
|
||||
transition.setFrame(view: fieldGlassBackgroundView, frame: fieldBackgroundFrame)
|
||||
}
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user