Skip to content

Commit

Permalink
Don't show fee if it's zero.
Browse files Browse the repository at this point in the history
  • Loading branch information
schildbach committed Oct 7, 2014
1 parent 431ee95 commit 2745336
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public void bindView(@Nonnull final View row, @Nonnull final Transaction tx)
final Coin value = tx.getValue(wallet);
final boolean sent = value.signum() < 0;
final Coin fee = tx.getFee();
final boolean hasFee = fee != null;
final boolean hasFee = fee != null && !fee.isZero();

final CircularProgressView rowConfidenceCircular = (CircularProgressView) row.findViewById(R.id.transaction_row_confidence_circular);
final TextView rowConfidenceTextual = (TextView) row.findViewById(R.id.transaction_row_confidence_textual);
Expand Down

0 comments on commit 2745336

Please sign in to comment.