Name color improvements

This commit is contained in:
Ilya Laktyushin
2023-10-25 13:33:51 +04:00
parent 08b76943c2
commit 7cb8f9739b
8 changed files with 85 additions and 27 deletions

View File

@@ -339,10 +339,15 @@ public final class ChatPresentationInterfaceState: Equatable {
}
public struct AccountPeerColor: Equatable {
public var isDashed: Bool
public enum Style {
case solid
case doubleDashed
case tripleDashed
}
public var style: Style
public init(isDashed: Bool) {
self.isDashed = isDashed
public init(style: Style) {
self.style = style
}
}