Hide progressBar and enable validate button in AddfeedActivity when an exception is thrown

This commit is contained in:
Shinokuni 2019-08-30 22:38:41 +02:00
parent 58f8693cc8
commit dc0d3e790b
1 changed files with 3 additions and 0 deletions

View File

@ -280,7 +280,10 @@ public class AddFeedActivity extends AppCompatActivity implements View.OnClickLi
@Override
public void onError(Throwable e) {
feedInsertionProgressBar.setVisibility(View.GONE);
validate.setEnabled(true);
Utils.showSnackbar(rootLayout, e.getMessage());
}
});
}