From 2a4e3b5f2935d57e4dcdc6b137ab39f197683217 Mon Sep 17 00:00:00 2001 From: Andrew Podkovyrin Date: Sat, 1 Dec 2018 10:30:48 +0300 Subject: [PATCH] Fix displaying previous shapeshift bitcoin transaction --- DashWallet/DWTxDetailViewController.m | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/DashWallet/DWTxDetailViewController.m b/DashWallet/DWTxDetailViewController.m index df01797b9..c9a31df46 100644 --- a/DashWallet/DWTxDetailViewController.m +++ b/DashWallet/DWTxDetailViewController.m @@ -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:@"(%@)",