Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions DashWallet/DWTxDetailViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -360,13 +360,9 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N

BOOL isBitcoinInstead = [self.outputIsBitcoin[indexPath.row] boolValue];
if (isBitcoinInstead) {
#if SHAPESHIFT_ENABLED
amountLabel.text = [priceManager stringForBitcoinAmount:[self.outputAmount[indexPath.row] longLongValue]];
amountLabel.textColor = [UIColor colorWithRed:0.0 green:0.75 blue:0.0 alpha:1.0];
localCurrencyLabel.text = [NSString stringWithFormat:@"(%@)",
[priceManager localCurrencyStringForBitcoinAmount:[self.outputAmount[indexPath.row]
longLongValue]]];
#endif
localCurrencyLabel.text = @""; // bitcoin price is not available
} else {
amountLabel.attributedText = [priceManager attributedStringForDashAmount:[self.outputAmount[indexPath.row] longLongValue] withTintColor:amountLabel.textColor dashSymbolSize:CGSizeMake(9, 9)];
localCurrencyLabel.text = [NSString stringWithFormat:@"(%@)",
Expand Down