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() {
|
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();
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user