Merge commit '202274073fa5df7a5fbaa4621e3da054a1a0284b' into call-messages

This commit is contained in:
Ilya Laktyushin
2025-09-17 22:05:40 +04:00
154 changed files with 2981 additions and 3156 deletions

View File

@@ -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

View File

@@ -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))

View File

@@ -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: