mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-07 20:46:17 +01:00
fix missing "game in room NNNN" in games list
Looks like sometimes the TextField was GONE
This commit is contained in:
parent
e24f7bdba8
commit
e97dd26e6f
1 changed files with 1 additions and 2 deletions
|
@ -325,10 +325,9 @@ public class GameListItem extends LinearLayout
|
|||
} );
|
||||
|
||||
String roleSummary = summary.summarizeRole( m_context, m_rowid );
|
||||
m_role.setVisibility( null == roleSummary ? View.GONE : View.VISIBLE );
|
||||
if ( null != roleSummary ) {
|
||||
m_role.setText( roleSummary );
|
||||
} else {
|
||||
m_role.setVisibility( View.GONE );
|
||||
}
|
||||
|
||||
update( expanded, summary.lastMoveTime, haveATurn,
|
||||
|
|
Loading…
Add table
Reference in a new issue