Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update abacus to 1.7.6 #97

Merged
merged 1 commit into from
May 10, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion v4/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ ext {
compileSdkVersion = 34

// App dependencies
abacusVersion = '1.6.52'
abacusVersion = '1.7.6'
carteraVersion = '0.1.13'
kollectionsVersion = '2.0.16'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,18 +36,18 @@ class DydxReceiptViewModel @Inject constructor(

private fun ReceiptLine.toType(): DydxReceiptView.ReceiptLineType? {
return when (this) {
ReceiptLine.buyingPower -> DydxReceiptView.ReceiptLineType.BuyingPower
ReceiptLine.marginUsage -> DydxReceiptView.ReceiptLineType.MarginUsage
ReceiptLine.fee -> DydxReceiptView.ReceiptLineType.Fee
ReceiptLine.expectedPrice -> DydxReceiptView.ReceiptLineType.ExpectedPrice
ReceiptLine.reward -> DydxReceiptView.ReceiptLineType.Rewards
ReceiptLine.equity -> DydxReceiptView.ReceiptLineType.Equity
ReceiptLine.exchangeRate -> DydxReceiptView.ReceiptLineType.ExchangeRate
ReceiptLine.exchangeReceived -> DydxReceiptView.ReceiptLineType.ExchangeReceived
ReceiptLine.transferRouteEstimatedDuration -> DydxReceiptView.ReceiptLineType.TransferDuration
ReceiptLine.slippage -> DydxReceiptView.ReceiptLineType.Slippage
ReceiptLine.bridgeFee -> DydxReceiptView.ReceiptLineType.BridgeFee
ReceiptLine.gasFee -> DydxReceiptView.ReceiptLineType.GasFee
ReceiptLine.BuyingPower -> DydxReceiptView.ReceiptLineType.BuyingPower
ReceiptLine.MarginUsage -> DydxReceiptView.ReceiptLineType.MarginUsage
ReceiptLine.Fee -> DydxReceiptView.ReceiptLineType.Fee
ReceiptLine.ExpectedPrice -> DydxReceiptView.ReceiptLineType.ExpectedPrice
ReceiptLine.Reward -> DydxReceiptView.ReceiptLineType.Rewards
ReceiptLine.Equity -> DydxReceiptView.ReceiptLineType.Equity
ReceiptLine.ExchangeRate -> DydxReceiptView.ReceiptLineType.ExchangeRate
ReceiptLine.ExchangeReceived -> DydxReceiptView.ReceiptLineType.ExchangeReceived
ReceiptLine.TransferRouteEstimatedDuration -> DydxReceiptView.ReceiptLineType.TransferDuration
ReceiptLine.Slippage -> DydxReceiptView.ReceiptLineType.Slippage
ReceiptLine.BridgeFee -> DydxReceiptView.ReceiptLineType.BridgeFee
ReceiptLine.GasFee -> DydxReceiptView.ReceiptLineType.GasFee
else -> null
}
}
Loading