diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/LookupActivity.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/LookupActivity.java index 2e909cd50..de7ddd31a 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/LookupActivity.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/LookupActivity.java @@ -132,7 +132,7 @@ public class LookupActivity extends XWListActivity if ( view == m_doneButton ) { switchState( -1 ); } 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 ); 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 ); - } }