mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-29 08:34:37 +01:00
fire a toast in response to "check relay" menu so people get sense of
something being done. Firing from RelayService might be more honest but is much harder.
This commit is contained in:
parent
9dd69015cc
commit
9acea8ec5a
1 changed files with 5 additions and 2 deletions
|
@ -22,7 +22,6 @@ package org.eehouse.android.xw4;
|
|||
|
||||
import android.app.Activity;
|
||||
import android.app.Dialog;
|
||||
import android.content.Context;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.Intent;
|
||||
import android.view.LayoutInflater;
|
||||
|
@ -30,6 +29,7 @@ import android.net.Uri;
|
|||
import junit.framework.Assert;
|
||||
import android.view.View;
|
||||
import android.widget.TextView;
|
||||
import android.widget.Toast;
|
||||
import android.app.AlertDialog;
|
||||
|
||||
import org.eehouse.android.xw4.jni.CommonPrefs;
|
||||
|
@ -138,7 +138,10 @@ public class DlgDelegate {
|
|||
if ( null == DBUtils.getRelayIDs( m_activity, false ) ) {
|
||||
showOKOnlyDialog( R.string.no_games_to_refresh );
|
||||
} else {
|
||||
RelayReceiver.RestartTimer( m_activity );
|
||||
RelayReceiver.RestartTimer( m_activity );
|
||||
Toast.makeText( m_activity,
|
||||
m_activity.getString( R.string.msgs_progress ),
|
||||
Toast.LENGTH_LONG ).show();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue