Skip to content

Commit

Permalink
Update ShareActivityItemSource.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
tsuzukihashi committed Jul 15, 2024
1 parent 6680948 commit f50220b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Sources/TsuzuKit/Utils/Share/ShareActivityItemSource.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import LinkPresentation

public class ShareActivityItemSource: NSObject, UIActivityItemSource {
var shareText: String
var shareImage: UIImage
var shareImage: UIImage?
var linkMetaData = LPLinkMetadata()

public init(shareText: String, shareImage: UIImage) {
public init(shareText: String, shareImage: UIImage?) {
self.shareText = shareText
self.shareImage = shareImage
linkMetaData.title = shareText
Expand Down

0 comments on commit f50220b

Please sign in to comment.