hide trade menuitem when board's in invite mode

This commit is contained in:
Eric House 2013-11-18 06:48:12 -08:00
parent 7ff9496d23
commit 6d06197c45

View file

@ -775,7 +775,7 @@ public class BoardActivity extends XWActivity
Utils.setItemVisible( menu, R.id.board_menu_trade_commit,
inTrade && m_gsi.tradeTilesSelected );
Utils.setItemVisible( menu, R.id.board_menu_trade,
!m_gameOver && !inTrade );
0 == m_missing && !m_gameOver && !inTrade );
Utils.setItemVisible( menu, R.id.board_menu_game_resign, !inTrade );
if ( !inTrade ) {