File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
app/src/main/java/to/bitkit Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -77,6 +77,7 @@ class ActivityRepo @Inject constructor(
7777
7878 for (payment in payments) {
7979 try {
80+ // TODO Reduce repeated calls
8081 val existentActivity = coreService.activity.getActivity(payment.id)
8182 val wasUpdate = existentActivity != null
8283
Original file line number Diff line number Diff line change @@ -925,6 +925,7 @@ class AppViewModel @Inject constructor(
925925 sendOnchain(validatedAddress.address, amount)
926926 .onSuccess { txId ->
927927 val tags = _sendUiState .value.selectedTags
928+ // TODO Tags are not added if the activity is not already created
928929 activityRepo.addTagsToTransaction(
929930 paymentHashOrTxId = txId,
930931 type = ActivityFilter .ONCHAIN ,
You can’t perform that action at this time.
0 commit comments