mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-27 07:58:49 +01:00
revert recent change hiding buttons: re-layout of games list that
results is too visually disruptive.
This commit is contained in:
parent
db8620451c
commit
4481b1db39
1 changed files with 2 additions and 3 deletions
|
@ -998,10 +998,9 @@ public class GamesListDelegate extends ListDelegateBase
|
|||
super.invalidateOptionsMenuIf();
|
||||
|
||||
if ( !XWPrefs.getHideNewgameButtons( m_activity ) ) {
|
||||
int vis = 0 == m_selGames.size() && 1 >= m_selGroupIDs.size()
|
||||
? View.VISIBLE : View.GONE;
|
||||
boolean enabled = 0 == m_selGames.size() && 1 >= m_selGroupIDs.size();
|
||||
for ( Button button : m_newGameButtons ) {
|
||||
button.setVisibility( vis );
|
||||
button.setEnabled( enabled );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue