Skip to content

Commit d75a175

Browse files
committed
fix: removing channel closing notification
1 parent d458c75 commit d75a175

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -231,13 +231,7 @@ class AppViewModel @Inject constructor(
231231
}
232232
}
233233

234-
is Event.ChannelClosed -> {
235-
toast(
236-
type = Toast.ToastType.LIGHTNING,
237-
title = "Channel closed",
238-
description = "Balance moved from spending to savings"
239-
)
240-
}
234+
is Event.ChannelClosed -> Unit
241235

242236
is Event.PaymentSuccessful -> {
243237
val paymentHash = event.paymentHash

0 commit comments

Comments
 (0)