mirror of
https://github.com/lizongying/my-tv.git
synced 2026-11-07 20:16:30 +08:00
dpad-right to enter the menu
This commit is contained in:
@@ -461,15 +461,7 @@ class MainActivity : FragmentActivity(), Request.RequestListener {
|
||||
}
|
||||
|
||||
KeyEvent.KEYCODE_DPAD_RIGHT -> {
|
||||
// if (mainFragment.isHidden) {
|
||||
// nextSource()
|
||||
// } else {
|
||||
//// if (mainFragment.tvListViewModel.getTVViewModelCurrent()
|
||||
//// ?.getItemPosition() == mainFragment.tvListViewModel.maxNum[mainFragment.selectedPosition] - 1
|
||||
//// ) {
|
||||
//// mainFragment.toFirstPosition()
|
||||
//// }
|
||||
// }
|
||||
switchMainFragment()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user