Skip to content
This repository has been archived by the owner on Dec 16, 2024. It is now read-only.

Commit

Permalink
[CHORE] Make encode manifest public
Browse files Browse the repository at this point in the history
eharrison committed Apr 23, 2022

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 71c3f94 commit 038cab5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/dotLottieLoader/DotLottieManifest.swift
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ public struct DotLottieManifest: Codable {
/// - Parameter encoder: JSONEncoder
/// - Throws: Error
/// - Returns: encoded Data
func encode(with encoder: JSONEncoder = JSONEncoder()) throws -> Data {
public func encode(with encoder: JSONEncoder = JSONEncoder()) throws -> Data {
try encoder.encode(self)
}

0 comments on commit 038cab5

Please sign in to comment.