We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07cf0e7 commit d0a4b4eCopy full SHA for d0a4b4e
app/src/main/java/to/bitkit/models/NewTransactionSheetDetails.kt
@@ -63,10 +63,12 @@ enum class NewTransactionSheetDirection {
63
SENT, RECEIVED
64
}
65
66
-fun NewTransactionSheetDirection.toTxType(): PaymentType = if (this == NewTransactionSheetDirection.SENT) {
67
- PaymentType.SENT
68
-} else {
69
- PaymentType.RECEIVED
+fun NewTransactionSheetDirection.toTxType(): PaymentType {
+ return if (this == NewTransactionSheetDirection.SENT) {
+ PaymentType.SENT
+ } else {
70
+ PaymentType.RECEIVED
71
+ }
72
73
74
fun NewTransactionSheetType.toActivityFilter(): ActivityFilter {
0 commit comments