Removes unnecessary labels
This commit is contained in:
@@ -75,7 +75,7 @@ fun WatchNoteEvent(
|
|||||||
} else {
|
} else {
|
||||||
// avoid observing costs if already has an event.
|
// avoid observing costs if already has an event.
|
||||||
val hasEvent by observeNoteHasEvent(baseNote, accountViewModel)
|
val hasEvent by observeNoteHasEvent(baseNote, accountViewModel)
|
||||||
CrossfadeIfEnabled(targetState = hasEvent, label = "Event presence", accountViewModel = accountViewModel) {
|
CrossfadeIfEnabled(targetState = hasEvent, accountViewModel = accountViewModel) {
|
||||||
if (it) {
|
if (it) {
|
||||||
onNoteEventFound()
|
onNoteEventFound()
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user