mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Phone numbers improvements
This commit is contained in:
@@ -36,6 +36,7 @@ public enum ContextMenuActionItemTextLayout {
|
||||
case singleLine
|
||||
case twoLinesMax
|
||||
case secondLineWithValue(String)
|
||||
case secondLineWithAttributedValue(NSAttributedString)
|
||||
case multiline
|
||||
}
|
||||
|
||||
@@ -2150,6 +2151,7 @@ public protocol ContextExtractedContentSource: AnyObject {
|
||||
var initialAppearanceOffset: CGPoint { get }
|
||||
var centerVertically: Bool { get }
|
||||
var keepInPlace: Bool { get }
|
||||
var adjustContentHorizontally: Bool { get }
|
||||
var adjustContentForSideInset: Bool { get }
|
||||
var ignoreContentTouches: Bool { get }
|
||||
var blurBackground: Bool { get }
|
||||
@@ -2170,6 +2172,10 @@ public extension ContextExtractedContentSource {
|
||||
return false
|
||||
}
|
||||
|
||||
var adjustContentHorizontally: Bool {
|
||||
return false
|
||||
}
|
||||
|
||||
var adjustContentForSideInset: Bool {
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user