Show error text on screen instead of a toast
This commit is contained in:
parent
62df6c476e
commit
226104ea10
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user