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
1 changed files with 1 additions and 3 deletions

View File

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