diff --git a/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/activity.kt b/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/activity.kt index 9910aa225..08b204cce 100644 --- a/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/activity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/gallery/extensions/activity.kt @@ -43,7 +43,7 @@ fun Activity.shareMedium(medium: Medium) { } fun Activity.shareMedia(media: List) { - 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) }