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 20e25e9 commit 323c067Copy full SHA for 323c067
app/src/main/java/to/bitkit/fcm/WakeNodeWorker.kt
@@ -157,15 +157,13 @@ class WakeNodeWorker @AssistedInject constructor(
157
self.bestAttemptContent?.title = content
158
val cjitEntry = channel.let { blocktankRepo.getCjitEntry(it) }
159
if (cjitEntry != null) {
160
- val amount = channel.amountOnClose.toLong()
161
-
162
// Save for UI to pick up
163
NewTransactionSheetDetails.save(
164
appContext,
165
NewTransactionSheetDetails(
166
type = NewTransactionSheetType.LIGHTNING,
167
direction = NewTransactionSheetDirection.RECEIVED,
168
- sats = sats,
+ sats = sats.toLong(),
169
)
170
171
activityRepo.insertActivityFromCjit(cjitEntry = cjitEntry, channel = channel)
0 commit comments