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 a14fcee commit 7b43452Copy full SHA for 7b43452
app/src/main/java/to/bitkit/viewmodels/AppViewModel.kt
@@ -502,7 +502,11 @@ class AppViewModel @Inject constructor(
502
503
private fun attachTagsToActivity(paymentHashOrTxId: String?, type: ActivityFilter) {
504
if (_sendUiState.value.selectedTags.isEmpty()) return
505
- if (paymentHashOrTxId == null) return
+
506
+ if (paymentHashOrTxId == null) {
507
+ Logger.error(msg = "null paymentHashOrTxId")
508
+ return
509
+ }
510
511
viewModelScope.launch(Dispatchers.IO) {
512
val activity = coreService.activity.get(filter = type, txType = PaymentType.SENT, limit = 1u).firstOrNull()
0 commit comments