From aab876bf6d3d40777ee055f813a4208984e7261e Mon Sep 17 00:00:00 2001 From: Eric House Date: Mon, 27 Jan 2014 21:25:22 -0800 Subject: [PATCH] remove toast --- .../src/org/eehouse/android/xw4/LookupActivity.java | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) 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 ); - } }