Show error text on screen instead of a toast

This commit is contained in:
Doug Keen 2016-11-02 18:15:09 -07:00
parent 62df6c476e
commit 226104ea10

View File

@ -751,9 +751,7 @@ public class ViewDeparturesActivity extends AppCompatActivity implements
runOnUiThread(new Runnable() { runOnUiThread(new Runnable() {
@Override @Override
public void run() { public void run() {
// TODO(fuegofro) - see if there's a way to not use toasts mEmptyView.setText(errorMessage);
Toast.makeText(ViewDeparturesActivity.this, errorMessage,
Toast.LENGTH_LONG).show();
} }
}); });
} }