Skip to content

Commit

Permalink
fix dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
hukjordanjanaq committed Oct 19, 2021
1 parent 7493bff commit 9a7afa1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ios/Classes/SwiftFlutterShareMePlugin.swift
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,9 @@ public class SwiftFlutterShareMePlugin: NSObject, FlutterPlugin, SharingDelegate
shareContent.contentURL = URL.init(string: message["url"] as! String)!
shareContent.quote = message["msg"] as? String

let shareDialog = ShareDialog(viewController: viewController, content: shareContent, delegate: self).show()
let shareDialog = ShareDialog(viewController: viewController, content: shareContent, delegate: self)
shareDialog.mode = .automatic
shareDialog.show()
result("Sucess")

}
Expand Down

0 comments on commit 9a7afa1

Please sign in to comment.