mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-27 06:57:59 +01:00
fix #1179, fix menu buttons at the video player activity
This commit is contained in:
parent
8b63d27cdc
commit
7cb5fce4bd
1 changed files with 2 additions and 0 deletions
|
@ -119,6 +119,8 @@ open class VideoPlayerActivity : SimpleActivity(), SeekBar.OnSeekBarChangeListen
|
||||||
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
override fun onOptionsItemSelected(item: MenuItem): Boolean {
|
||||||
when (item.itemId) {
|
when (item.itemId) {
|
||||||
R.id.menu_change_orientation -> changeOrientation()
|
R.id.menu_change_orientation -> changeOrientation()
|
||||||
|
R.id.menu_open_with -> openPath(mUri!!.toString(), true)
|
||||||
|
R.id.menu_share -> shareMediumPath(mUri!!.toString())
|
||||||
else -> return super.onOptionsItemSelected(item)
|
else -> return super.onOptionsItemSelected(item)
|
||||||
}
|
}
|
||||||
return true
|
return true
|
||||||
|
|
Loading…
Reference in a new issue