Skip to content

Commit 3ac254f

Browse files
committed
chore: add comments
1 parent 9893f5c commit 3ac254f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ class AppViewModel @Inject constructor(
191191
viewModelScope.launch {
192192
ldkNodeEventBus.events.collect { event ->
193193
try {
194-
when (event) {
194+
when (event) { //TODO Create individual sheet for each type of event
195195
is Event.PaymentReceived -> {
196196
handleTags(event)
197197
showNewTransactionSheet(
@@ -1222,8 +1222,9 @@ class AppViewModel @Inject constructor(
12221222
retry = false
12231223
).getOrNull()
12241224

1225+
//TODO Temporary fix while ldk-node bug is not fixed https://github.com/synonymdev/bitkit-android/pull/297
12251226
if (activity != null) {
1226-
Logger.verbose("Activity already exists, skipping sheet", context = TAG)
1227+
Logger.warn("Activity already exists, skipping sheet", context = TAG)
12271228
return@launch
12281229
}
12291230
}

0 commit comments

Comments
 (0)