This commit is contained in:
Eric House 2015-01-05 06:31:46 -08:00
parent af6f01fd9c
commit 05aaffb933

View file

@ -460,21 +460,17 @@ public class BoardDelegate extends DelegateBase
.create(); .create();
break; break;
case DLG_INVITE: case DLG_INVITE:
if ( true || null != m_room ) { lstnr = new DialogInterface.OnClickListener() {
lstnr = new DialogInterface.OnClickListener() { public void onClick( DialogInterface dialog,
public void onClick( DialogInterface dialog, int item ) {
int item ) { showInviteChoicesThen( Action.LAUNCH_INVITE_ACTION );
showInviteChoicesThen( Action.LAUNCH_INVITE_ACTION ); }
} };
}; dialog = ab.setTitle( R.string.query_title )
dialog = ab.setTitle( R.string.query_title ) .setMessage( "" )
.setMessage( "" ) .setPositiveButton( R.string.button_yes, lstnr )
.setPositiveButton( R.string.button_yes, lstnr ) .setNegativeButton( R.string.button_no, null )
.setNegativeButton( R.string.button_no, null ) .create();
.create();
} else {
DbgUtils.showf( m_activity, "can't invite for relay: room name not set" );
}
break; break;
case ENABLE_NFC: case ENABLE_NFC: