fixed lines 849 and 879 (inGameMenu's .menu added)
All checks were successful
eden-license / license-header (pull_request) Successful in 17s
All checks were successful
eden-license / license-header (pull_request) Successful in 17s
This commit is contained in:
parent
b9b297c101
commit
099393705a
1 changed files with 2 additions and 2 deletions
|
@ -846,7 +846,7 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
|
||||||
|
|
||||||
private fun updateQuickOverlayMenuEntry(isVisible: Boolean) {
|
private fun updateQuickOverlayMenuEntry(isVisible: Boolean) {
|
||||||
val b = _binding ?: return
|
val b = _binding ?: return
|
||||||
val item = b.inGameMenu.findItem(R.id.menu_quick_overlay) ?: return
|
val item = b.inGameMenu.menu.findItem(R.id.menu_quick_overlay) ?: return
|
||||||
|
|
||||||
if (isVisible) {
|
if (isVisible) {
|
||||||
item.title = getString(R.string.emulation_hide_overlay)
|
item.title = getString(R.string.emulation_hide_overlay)
|
||||||
|
@ -867,7 +867,7 @@ class EmulationFragment : Fragment(), SurfaceHolder.Callback {
|
||||||
|
|
||||||
private fun updatePauseMenuEntry(isPaused: Boolean) {
|
private fun updatePauseMenuEntry(isPaused: Boolean) {
|
||||||
val b = _binding ?: return
|
val b = _binding ?: return
|
||||||
val pauseItem = b.inGameMenu.findItem(R.id.menu_pause_emulation) ?: return
|
val pauseItem = b.inGameMenu.menu.findItem(R.id.menu_pause_emulation) ?: return
|
||||||
if (isPaused) {
|
if (isPaused) {
|
||||||
pauseItem.title = getString(R.string.emulation_unpause)
|
pauseItem.title = getString(R.string.emulation_unpause)
|
||||||
pauseItem.icon = ResourcesCompat.getDrawable(
|
pauseItem.icon = ResourcesCompat.getDrawable(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue