Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Commit

Permalink
Fix #2531: Estimated ads payout frame layout logic corrected (#2532)
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehickinson authored May 11, 2020
1 parent 5483e03 commit 32820ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ extension AdsDetailsViewController: UITableViewDelegate, UITableViewDataSource {
cell.accessoryView = BATUSDPairView().then {
$0.batContainer.amountLabel.text = BATValue(estimatedEarnings).displayString
$0.usdContainer.amountLabel.text = state.ledger.dollarStringForBATAmount(estimatedEarnings, includeCurrencyCode: false)
$0.bounds = CGRect(origin: .zero, size: $0.systemLayoutSizeFitting(UIView.layoutFittingExpandedSize))
$0.bounds = CGRect(origin: .zero, size: $0.systemLayoutSizeFitting(UIView.layoutFittingCompressedSize))
}
case .nextPayment:
cell.label.text = Strings.nextPaymentDate
Expand Down

0 comments on commit 32820ce

Please sign in to comment.