mirror of
https://github.com/MessageKit/MessageKit.git
synced 2026-02-06 19:03:19 +00:00
Merge pull request #705 from zhongwuzw/fix-protection-level
Make LabelAlignment initializer public
This commit is contained in:
@@ -6,6 +6,11 @@ The changelog for `MessageKit`. Also see the [releases](https://github.com/Messa
|
||||
|
||||
## Upcoming release
|
||||
|
||||
### Fixed
|
||||
|
||||
- Fixed `LabelAlignment` initializer which has default internal access control.
|
||||
[#705](https://github.com/MessageKit/MessageKit/pull/705) by [@zhongwuzw](https://github.com/zhongwuzw).
|
||||
|
||||
## [[Prerelease] 1.0.0-beta.1](https://github.com/MessageKit/MessageKit/releases/tag/1.0.0-beta.1)
|
||||
|
||||
### Added
|
||||
|
||||
@@ -28,6 +28,11 @@ public struct LabelAlignment {
|
||||
|
||||
public var textAlignment: NSTextAlignment
|
||||
public var textInsets: UIEdgeInsets
|
||||
|
||||
public init(textAlignment: NSTextAlignment, textInsets: UIEdgeInsets) {
|
||||
self.textAlignment = textAlignment
|
||||
self.textInsets = textInsets
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user