mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 00:10:32 +05:30
ktlint
This commit is contained in:
parent
4dc6e1024b
commit
45f6a3319c
@ -40,7 +40,9 @@ class ShareDialog(private val videoId: String) : DialogFragment() {
|
||||
intent.action = Intent.ACTION_SEND
|
||||
intent.putExtra(Intent.EXTRA_TEXT, url)
|
||||
intent.type = "text/plain"
|
||||
context?.startActivity(Intent.createChooser(intent, context?.getString(R.string.shareTo)))
|
||||
context?.startActivity(
|
||||
Intent.createChooser(intent, context?.getString(R.string.shareTo))
|
||||
)
|
||||
}
|
||||
.show()
|
||||
} ?: throw IllegalStateException("Activity cannot be null")
|
||||
|
Loading…
x
Reference in New Issue
Block a user