From c94c7c5d35252df2d3d3c1c15854b2f11fb8ae7e Mon Sep 17 00:00:00 2001 From: Eric House Date: Sat, 18 Feb 2023 13:08:54 -0800 Subject: [PATCH] fix offering Rematch when multiple games are selected --- .../main/java/org/eehouse/android/xw4/GamesListDelegate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GamesListDelegate.java b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GamesListDelegate.java index d622bc49b..5dd70fcef 100644 --- a/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GamesListDelegate.java +++ b/xwords4/android/app/src/main/java/org/eehouse/android/xw4/GamesListDelegate.java @@ -555,6 +555,7 @@ public class GamesListDelegate extends ListDelegateBase private static final int[] ONEGAME_ITEMS = { R.id.games_game_config, R.id.games_game_rename, + R.id.games_game_rematch, R.id.games_game_new_from, R.id.games_game_copy, }; @@ -2148,7 +2149,6 @@ public class GamesListDelegate extends ListDelegateBase break; case R.id.games_game_rematch: - Assert.assertTrue( 1 == selRowIDs.length ); BoardDelegate.setupRematchFor( m_activity, selRowIDs[0] ); break;