Skip to content

Commit cc10033

Browse files
committed
feat: selectedTags empty
1 parent 7b43452 commit cc10033

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

app/src/main/java/to/bitkit/viewmodels/AppViewModel.kt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,10 @@ class AppViewModel @Inject constructor(
501501
}
502502

503503
private fun attachTagsToActivity(paymentHashOrTxId: String?, type: ActivityFilter) {
504-
if (_sendUiState.value.selectedTags.isEmpty()) return
504+
if (_sendUiState.value.selectedTags.isEmpty()) {
505+
Logger.debug("selectedTags empty")
506+
return
507+
}
505508

506509
if (paymentHashOrTxId == null) {
507510
Logger.error(msg = "null paymentHashOrTxId")

0 commit comments

Comments
 (0)