Skip to content

Commit

Permalink
[spreads] show 0 for spread points 0
Browse files Browse the repository at this point in the history
bump to 290
  • Loading branch information
MIPPL committed Jan 12, 2021
1 parent 2ad7d4f commit ecee81d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file modified .idea/caches/build_file_checksums.ser
Binary file not shown.
4 changes: 2 additions & 2 deletions app/build.gradle
Expand Up @@ -7,8 +7,8 @@ android {
applicationId = 'com.wagerrwallet'
minSdkVersion 23
targetSdkVersion 29
versionCode 289
versionName "289"
versionCode 290
versionName "290"
multiDexEnabled true

// Similar to other properties in the defaultConfig block,
Expand Down
Expand Up @@ -912,7 +912,7 @@ public void updateUi() {

if (item.hasSpreads()) {
String txSpreadFormat = item.getSpreadFormat();
String txSpreadPoints = String.format(txSpreadFormat, item.getTxSpreadPoints(), item.getTxSpreadPoints() );
String txSpreadPoints = (item.getSpreadPoints()==0)?"0":String.format(txSpreadFormat, item.getTxSpreadPoints(), item.getTxSpreadPoints() );
mTxSpreadPoints.setText(txSpreadPoints);
mTxSpreadHomeOdds.setText((item.getSpreadHomeOdds() > 0) ? item.getTxSpreadHomeOdds() : "N/A");
mTxSpreadAwayOdds.setText((item.getSpreadAwayOdds() > 0) ? item.getTxSpreadAwayOdds() : "N/A");
Expand Down

0 comments on commit ecee81d

Please sign in to comment.