mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-28 07:58:08 +01:00
if tap-to-play is set, remove play-game item from context menu
This commit is contained in:
parent
44907a29a6
commit
6cb2638a50
1 changed files with 3 additions and 0 deletions
|
@ -146,6 +146,9 @@ public class GamesList extends ListActivity {
|
||||||
{
|
{
|
||||||
MenuInflater inflater = getMenuInflater();
|
MenuInflater inflater = getMenuInflater();
|
||||||
inflater.inflate( R.menu.games_list_item_menu, menu );
|
inflater.inflate( R.menu.games_list_item_menu, menu );
|
||||||
|
if ( CommonPrefs.getClickLaunches( this ) ) {
|
||||||
|
menu.removeItem( R.id.list_item_play );
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Reference in a new issue