fix #454, share multiple items properly, as images

This commit is contained in:
tibbi 2017-11-30 23:51:56 +01:00
parent a7a473c172
commit 2da5af065b

View file

@ -43,7 +43,7 @@ fun Activity.shareMedium(medium: Medium) {
} }
fun Activity.shareMedia(media: List<Medium>) { fun Activity.shareMedia(media: List<Medium>) {
val uris = media.map { getFilePublicUri(File(it.path), BuildConfig.APPLICATION_ID) } as ArrayList val uris = media.map { Uri.fromFile(File(it.path)) } as ArrayList
shareUris(uris) shareUris(uris)
} }