Skip to content

Commit 96f49e0

Browse files
ovitrifCopilot
andauthored
fix: print 'null'
Co-authored-by: Copilot <[email protected]>
1 parent a0717bb commit 96f49e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/to/bitkit/ui/settings/ChannelOrdersScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ private fun OrderDetailContent(
176176
item {
177177
InfoCard(header = "Order Details") {
178178
DetailRow("ID", order.id)
179-
DetailRow("Onchain txs", order.payment?.onchain?.transactions?.size.toString())
179+
DetailRow("Onchain txs", order.payment?.onchain?.transactions?.size?.toString() ?: "0")
180180
DetailRow("State", order.state.toString())
181181
DetailRow("State 2", order.state2.toString())
182182
DetailRow("LSP Balance", order.lspBalanceSat.formatToModernDisplay())

0 commit comments

Comments
 (0)