diff --git a/MVMCore/MVMCore/Models/ActionType/UIAlertActionStyle+Codable.swift b/MVMCore/MVMCore/Models/ActionType/UIAlertActionStyle+Codable.swift index df524ec..bbf13b3 100644 --- a/MVMCore/MVMCore/Models/ActionType/UIAlertActionStyle+Codable.swift +++ b/MVMCore/MVMCore/Models/ActionType/UIAlertActionStyle+Codable.swift @@ -14,20 +14,6 @@ enum AlertActionError: Error { extension UIAlertAction.Style: Codable { - public init(from decoder: Decoder) throws { - let typeContainer = try decoder.singleValueContainer() - let int = try typeContainer.decode(Int.self) - guard let style = UIAlertAction.Style(rawValue: int) else { - throw AlertActionError.notAnAlertAction - } - self = style - } - - public func encode(to encoder: Encoder) throws { - var container = encoder.singleValueContainer() - try container.encode(rawValueString) - } - init(rawValue: String) { switch rawValue { case "default":