mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
remove unneeded variable
This commit is contained in:
parent
2c71c8425f
commit
922f4a22f4
2 changed files with 6 additions and 6 deletions
|
@ -331,8 +331,9 @@ public class GameListAdapter extends XWListAdapter {
|
|||
}
|
||||
}
|
||||
|
||||
public void setField( String fieldName )
|
||||
public boolean setField( String fieldName )
|
||||
{
|
||||
boolean changed = false;
|
||||
int[] ids = {
|
||||
R.string.game_summary_field_empty
|
||||
,R.string.game_summary_field_language
|
||||
|
@ -358,7 +359,9 @@ public class GameListAdapter extends XWListAdapter {
|
|||
}
|
||||
m_viewsCache.clear();
|
||||
m_fieldID = result;
|
||||
changed = true;
|
||||
}
|
||||
return changed;
|
||||
}
|
||||
|
||||
}
|
|
@ -90,7 +90,6 @@ public class GamesList extends XWListActivity
|
|||
private String[] m_sameLangDicts;
|
||||
private int m_missingDictLang;
|
||||
private long m_rowid;
|
||||
private String m_nameField;
|
||||
private NetLaunchInfo m_netLaunchInfo;
|
||||
// private String m_smsPhone;
|
||||
|
||||
|
@ -851,10 +850,8 @@ public class GamesList extends XWListActivity
|
|||
private void updateField()
|
||||
{
|
||||
String newField = CommonPrefs.getSummaryField( this );
|
||||
if ( ! newField.equals( m_nameField ) ) {
|
||||
m_nameField = newField;
|
||||
m_adapter.setField( newField );
|
||||
onContentChanged();
|
||||
if ( m_adapter.setField( newField ) ) {
|
||||
onContentChanged();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue