mirror of
https://github.com/tachiyomiorg/tachiyomi.git
synced 2024-12-23 03:01:49 +01:00
Undo last commit
This commit is contained in:
parent
9714a30148
commit
d69730a333
@ -575,9 +575,9 @@ class ReaderActivity : BaseRxActivity<ReaderPresenter>() {
|
||||
uri = File(uri.toString().substringAfter("file://")).getUriCompat(this)
|
||||
}
|
||||
val intent = Intent(Intent.ACTION_SEND).apply {
|
||||
setDataAndType(uri, "image/*")
|
||||
putExtra(Intent.EXTRA_STREAM, uri)
|
||||
flags = Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_GRANT_READ_URI_PERMISSION
|
||||
type = "image/*"
|
||||
}
|
||||
startActivity(Intent.createChooser(intent, getString(R.string.action_share)))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user