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
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehickinson committed May 9, 2020
1 parent eae2b59 commit 2046a05
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 2046a05

Please sign in to comment.