Skip to content

Commit

Permalink
fix spread sign check, b 253b
Browse files Browse the repository at this point in the history
  • Loading branch information
MIPPL committed Jan 1, 2020
1 parent e2fa8b3 commit f487de9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -654,7 +654,7 @@ public void updateUi() {

bHasSpreads = (item.getSpreadPoints()>0);
if (bHasSpreads) {
String txSpreadFormat = (item.getSpreadHomeOdds()>item.getSpreadAwayOdds())?"+%s/-%s":"-%s/+%s";
String txSpreadFormat = (item.getHomeOdds()>item.getAwayOdds())?"+%s/-%s":"-%s/+%s";
String txSpreadPoints = String.format(txSpreadFormat, item.getTxSpreadPoints(), item.getTxSpreadPoints() );
mTxSpreadPoints.setText(txSpreadPoints);
mTxSpreadHomeOdds.setText((item.getSpreadHomeOdds() > 0) ? item.getTxSpreadHomeOdds() : "N/A");
Expand Down

0 comments on commit f487de9

Please sign in to comment.