Skip to content

Commit

Permalink
add false delay to partner ID validation to make the message readable
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Huttner authored and Aaron Huttner committed Aug 23, 2016
1 parent 2cb1983 commit aa49994
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import com.rockthevote.grommet.util.Strings;

import java.util.List;
import java.util.concurrent.TimeUnit;

import javax.inject.Inject;

Expand Down Expand Up @@ -152,6 +153,7 @@ public void onSave() {
} else {
rockyService.getPartnerName(edePartnerId.getText().toString())
.subscribeOn(Schedulers.io())
.delay(500, TimeUnit.MILLISECONDS)
.observeOn(AndroidSchedulers.mainThread())
.doOnSubscribe(() -> {
editableActionView.showSpinner();
Expand Down

0 comments on commit aa49994

Please sign in to comment.