mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Folder updates
This commit is contained in:
@@ -75,13 +75,20 @@ public enum ContextMenuActionBadgeColor {
|
||||
case inactive
|
||||
}
|
||||
|
||||
public struct ContextMenuActionBadge {
|
||||
public struct ContextMenuActionBadge: Equatable {
|
||||
public enum Style {
|
||||
case badge
|
||||
case label
|
||||
}
|
||||
|
||||
public var value: String
|
||||
public var color: ContextMenuActionBadgeColor
|
||||
public var style: Style
|
||||
|
||||
public init(value: String, color: ContextMenuActionBadgeColor) {
|
||||
public init(value: String, color: ContextMenuActionBadgeColor, style: Style = .badge) {
|
||||
self.value = value
|
||||
self.color = color
|
||||
self.style = style
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user