mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-08 05:24:39 +01:00
remove toast
This commit is contained in:
parent
49d26dab07
commit
aab876bf6d
1 changed files with 1 additions and 8 deletions
|
@ -132,7 +132,7 @@ public class LookupActivity extends XWListActivity
|
||||||
if ( view == m_doneButton ) {
|
if ( view == m_doneButton ) {
|
||||||
switchState( -1 );
|
switchState( -1 );
|
||||||
} else if ( view == m_studyButton ) {
|
} else if ( view == m_studyButton ) {
|
||||||
addToList( m_words[m_wordIndex] );
|
DBUtils.addToStudyList( this, word, s_lang );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -263,11 +263,4 @@ public class LookupActivity extends XWListActivity
|
||||||
String title = Utils.format( this, R.string.pick_url_titlef, word );
|
String title = Utils.format( this, R.string.pick_url_titlef, word );
|
||||||
m_summary.setText( title );
|
m_summary.setText( title );
|
||||||
}
|
}
|
||||||
|
|
||||||
private void addToList( String word )
|
|
||||||
{
|
|
||||||
String msg = String.format("Wants to study %s", word );
|
|
||||||
Utils.showToast( this, msg );
|
|
||||||
DBUtils.addToStudyList( this, word, s_lang );
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue