offer to hide buttons when invoked from action bar

This commit is contained in:
Eric House 2017-09-26 07:34:54 -07:00
parent 0aab21ed5e
commit 7b691dfd2f
2 changed files with 7 additions and 7 deletions

View file

@ -1540,10 +1540,10 @@ public class GamesListDelegate extends ListDelegateBase
GameUtils.resendAllIf( m_activity, null, true, true ); GameUtils.resendAllIf( m_activity, null, true, true );
break; break;
case R.id.games_menu_newgame_solo: case R.id.games_menu_newgame_solo:
handleNewGame( true ); handleNewGameButton( true );
break; break;
case R.id.games_menu_newgame_net: case R.id.games_menu_newgame_net:
handleNewGame( false ); handleNewGameButton( false );
break; break;
case R.id.games_menu_newgroup: case R.id.games_menu_newgroup:

View file

@ -2419,11 +2419,11 @@
<string name="set_pref">Hide buttons</string> <string name="set_pref">Hide buttons</string>
<string name="not_again_hidenewgamebuttons">These two buttons do <string name="not_again_hidenewgamebuttons">The two buttons at the
the same thing as the first two items in this window\'s Action Bar bottom of this screen and the first two items in its Action Bar
(or menu). If you like you can hide the buttons to make more games (or menu) do the same thing. If you like you can hide the buttons
visible.\n\n(If you later want to unhide them go to the Appearance to make more games visible.\n\n(If you later want to unhide the
section of App settings). buttons go to the Appearance section of App settings).
</string> </string>
<string name="waiting_title">Waiting for players</string> <string name="waiting_title">Waiting for players</string>