fix #454, share multiple items properly, as images
This commit is contained in:
parent
a7a473c172
commit
2da5af065b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue