encode fix
This commit is contained in:
parent
3e482b0c1a
commit
c141f59685
@ -81,6 +81,7 @@ open class TextViewModel: TextEntryFieldModel {
|
||||
}
|
||||
|
||||
public override func encode(to encoder: Encoder) throws {
|
||||
try super.encode(to: encoder)
|
||||
var container = encoder.container(keyedBy: CodingKeys.self)
|
||||
try container.encodeIfPresent(accessibilityText, forKey: .accessibilityText)
|
||||
try container.encodeIfPresent(height, forKey: .height)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user