Skip to content

Commit 1089434

Browse files
committed
Change attributes access control to internal
1 parent 98d2413 commit 1089434

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Sources/Views/MessageLabel.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,13 @@ open class MessageLabel: UILabel {
136136
]
137137
}()
138138

139-
open private(set) var addressAttributes: [NSAttributedStringKey: Any] = defaultAttributes
139+
open internal(set) var addressAttributes: [NSAttributedStringKey: Any] = defaultAttributes
140140

141-
open private(set) var dateAttributes: [NSAttributedStringKey: Any] = defaultAttributes
141+
open internal(set) var dateAttributes: [NSAttributedStringKey: Any] = defaultAttributes
142142

143-
open private(set) var phoneNumberAttributes: [NSAttributedStringKey: Any] = defaultAttributes
143+
open internal(set) var phoneNumberAttributes: [NSAttributedStringKey: Any] = defaultAttributes
144144

145-
open private(set) var urlAttributes: [NSAttributedStringKey: Any] = defaultAttributes
145+
open internal(set) var urlAttributes: [NSAttributedStringKey: Any] = defaultAttributes
146146

147147
public func setAttributes(_ attributes: [NSAttributedStringKey: Any], detector: DetectorType) {
148148
switch detector {

0 commit comments

Comments
 (0)