mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-07 05:24:46 +01:00
add button taking you to Known Players browser
from the new-game alert. It winds up closing that alert without creating a game, but that's ok for now IMO.
This commit is contained in:
parent
3350ca19b7
commit
4aaee07369
1 changed files with 12 additions and 0 deletions
|
@ -950,6 +950,18 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
} );
|
||||
}
|
||||
} );
|
||||
if ( !standalone && XwJNI.hasKnownPlayers() ) {
|
||||
ab.setNegativeButton( R.string.gamel_menu_knownplyrs,
|
||||
new OnClickListener() {
|
||||
@Override
|
||||
public void onClick( DialogInterface dlg,
|
||||
int item ) {
|
||||
KnownPlayersDelegate
|
||||
.launchOrAlert( getDelegator(),
|
||||
GamesListDelegate.this );
|
||||
}
|
||||
} );
|
||||
}
|
||||
|
||||
final AlertDialog dialog = ab.create();
|
||||
view.setCallback( new NewWithKnowns.ButtonChangeListener() {
|
||||
|
|
Loading…
Reference in a new issue