Use chooser intent for sharing saved pages

This commit is contained in:
arkon
2021-07-24 11:56:55 -04:00
parent f2fca0f13d
commit 649209890d
3 changed files with 13 additions and 11 deletions
@@ -688,12 +688,7 @@ class MangaController :
useCoverAsBitmap(activity) { coverBitmap ->
val cover = presenter.shareCover(activity, coverBitmap)
val uri = cover.getUriCompat(activity)
startActivity(
Intent.createChooser(
uri.toShareIntent(),
activity.getString(R.string.action_share)
)
)
startActivity(uri.toShareIntent(activity))
}
} catch (e: Exception) {
Timber.e(e)