mirror of https://github.com/readrops/Readrops.git
Hide progressBar and enable validate button in AddfeedActivity when an exception is thrown
This commit is contained in:
parent
58f8693cc8
commit
dc0d3e790b
|
@ -280,7 +280,10 @@ public class AddFeedActivity extends AppCompatActivity implements View.OnClickLi
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onError(Throwable e) {
|
public void onError(Throwable e) {
|
||||||
|
feedInsertionProgressBar.setVisibility(View.GONE);
|
||||||
|
validate.setEnabled(true);
|
||||||
Utils.showSnackbar(rootLayout, e.getMessage());
|
Utils.showSnackbar(rootLayout, e.getMessage());
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue