Skip to content

Commit

Permalink
Merge pull request #123 from Tunous/fix/missing-focus-coordinate
Browse files Browse the repository at this point in the history
Make attachment meta focus coordinates optional
  • Loading branch information
kkostov committed Mar 16, 2023
2 parents f0df160 + 9443154 commit 8e3b90b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/TootSDK/Models/MediaAttachment.swift
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ public extension MediaAttachment {
}

public struct AttachmentMetaFocus: Codable, Hashable, Sendable {
public var x: Double
public var y: Double
public var x: Double?
public var y: Double?
}

public extension AttachmentMetaFocus {
Expand Down

0 comments on commit 8e3b90b

Please sign in to comment.