mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-27 07:58:49 +01:00
cleanup
This commit is contained in:
parent
af6f01fd9c
commit
05aaffb933
1 changed files with 11 additions and 15 deletions
|
@ -460,21 +460,17 @@ public class BoardDelegate extends DelegateBase
|
|||
.create();
|
||||
break;
|
||||
case DLG_INVITE:
|
||||
if ( true || null != m_room ) {
|
||||
lstnr = new DialogInterface.OnClickListener() {
|
||||
public void onClick( DialogInterface dialog,
|
||||
int item ) {
|
||||
showInviteChoicesThen( Action.LAUNCH_INVITE_ACTION );
|
||||
}
|
||||
};
|
||||
dialog = ab.setTitle( R.string.query_title )
|
||||
.setMessage( "" )
|
||||
.setPositiveButton( R.string.button_yes, lstnr )
|
||||
.setNegativeButton( R.string.button_no, null )
|
||||
.create();
|
||||
} else {
|
||||
DbgUtils.showf( m_activity, "can't invite for relay: room name not set" );
|
||||
}
|
||||
lstnr = new DialogInterface.OnClickListener() {
|
||||
public void onClick( DialogInterface dialog,
|
||||
int item ) {
|
||||
showInviteChoicesThen( Action.LAUNCH_INVITE_ACTION );
|
||||
}
|
||||
};
|
||||
dialog = ab.setTitle( R.string.query_title )
|
||||
.setMessage( "" )
|
||||
.setPositiveButton( R.string.button_yes, lstnr )
|
||||
.setNegativeButton( R.string.button_no, null )
|
||||
.create();
|
||||
break;
|
||||
|
||||
case ENABLE_NFC:
|
||||
|
|
Loading…
Add table
Reference in a new issue