From 6d06197c456a94fb55fe08bb0a6d9f34c9d981f5 Mon Sep 17 00:00:00 2001 From: Eric House Date: Mon, 18 Nov 2013 06:48:12 -0800 Subject: [PATCH] hide trade menuitem when board's in invite mode --- .../XWords4/src/org/eehouse/android/xw4/BoardActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java index f57e5504e..1d23159fa 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/BoardActivity.java @@ -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 ) {