mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
address review: signal transient dismissal with an event flow, not an int
An Int counter was already rejected for the now-playing launch signal; use a broadcast Flow on the shared ContextMenuHost and collect it, so the dismissal is an event rather than an ever-increasing number.
This commit is contained in:
@@ -119,7 +119,7 @@ class LibraryOptionsTest {
|
||||
onOpenSettings = {},
|
||||
sortOptions = sortOptionsFor(LibraryTab.Albums),
|
||||
starredSupported = true,
|
||||
dismissRequests = host.dismissRequests,
|
||||
dismissals = host.dismissals,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user