Phone numbers improvements

This commit is contained in:
Ilya Laktyushin
2024-05-16 00:50:11 +04:00
parent 55c38c8590
commit 6de753b14a
51 changed files with 914 additions and 233 deletions

View File

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