Skip to content

Commit d265744

Browse files
committed
chore: add comments
1 parent 456a934 commit d265744

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/src/main/java/to/bitkit/repositories/ActivityRepo.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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,

0 commit comments

Comments
 (0)