Skip to content
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
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,16 @@ import kotlinx.serialization.Serializable
import kotlinx.serialization.json.Json
import kotlin.time.Instant

/**
* A feed entry paired with the token metadata its row needs.
*
* [token] is the entry's own token (for a convert, the source side). [toToken] is only set for a
* convert, which spans two mints and draws both logos; everything else leaves it null.
*/
data class ActivityFeedMessageWithToken(
val message: ActivityFeedMessage,
val token: Token?
val token: Token?,
val toToken: Token? = null,
)

data class ActivityFeedMessage(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class WalletLoadingStateTest {
avatar = TransactionAvatar.Generic,
signedAmountPrefix = "+",
amount = null,
fee = null,
canCancel = false,
)

Expand Down
Loading
Loading