mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-23 07:27:22 +01:00
don't show the dup-invite alert
It's coming up too often, sometimes several times in a row so that all must be dismissed. Until I can detect which result from explicit user action (tapping a URL) rather than duplicated delivery over MQTT and bluetooth, this is better.
This commit is contained in:
parent
755b9e4c1f
commit
9be9caae54
2 changed files with 10 additions and 7 deletions
|
@ -2338,12 +2338,17 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
for ( long rowid : rowids.keySet() ) {
|
||||
if ( nli.forceChannel == rowids.get(rowid) ) {
|
||||
DbgUtils.printStack( TAG );
|
||||
if ( BuildConfig.NON_RELEASE ) {
|
||||
Utils.showToast( m_activity, R.string.dropped_dupe );
|
||||
}
|
||||
|
||||
makeOkOnlyBuilder( R.string.dropped_dupe )
|
||||
.setActionPair( Action.OPEN_GAME,
|
||||
R.string.button_open_game )
|
||||
.setParams( rowid, null ) // null: GameSummary
|
||||
.show();
|
||||
final Object[] params = { rowid, null };
|
||||
post( new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
doOpenGame( params );
|
||||
}
|
||||
} );
|
||||
handled = true;
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -2013,8 +2013,6 @@
|
|||
email, for the second time. -->
|
||||
<string name="dropped_dupe">This invitation has already been used
|
||||
to create a game.</string>
|
||||
<!-- Button in "Duplicate invitation ignored" alert -->
|
||||
<string name="button_open_game">Open Game</string>
|
||||
<string name="cur_menu_marker_fmt">%1$s (in use)</string>
|
||||
<string name="board_menu_invite">Invite</string>
|
||||
<string name="enable_nfc">NFC is turned off on this device. You
|
||||
|
|
Loading…
Add table
Reference in a new issue