mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Various improvements
This commit is contained in:
@@ -60,6 +60,16 @@ public final class TextNodeWithEntities {
|
||||
self.placeholderColor = placeholderColor
|
||||
self.attemptSynchronous = attemptSynchronous
|
||||
}
|
||||
|
||||
public func withUpdatedPlaceholderColor(_ color: UIColor) -> Arguments {
|
||||
return Arguments(
|
||||
context: self.context,
|
||||
cache: self.cache,
|
||||
renderer: self.renderer,
|
||||
placeholderColor: self.placeholderColor,
|
||||
attemptSynchronous: self.attemptSynchronous
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
public let textNode: TextNode
|
||||
|
||||
Reference in New Issue
Block a user