Skip to content

Commit

Permalink
fix: type error
Browse files Browse the repository at this point in the history
  • Loading branch information
xfqwdsj committed Apr 13, 2024
1 parent 71e3727 commit fe917bb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import kotlinx.coroutines.flow.MutableSharedFlow
import xyz.xfqlittlefan.fhraise.flow.IdMessageFlow
import java.util.*

val newBrowserFlowId: UUID get() = UUID.randomUUID()
val browserFlow = IdMessageFlow<UUID, BrowserMessage>(MutableSharedFlow(replay = 1, extraBufferCapacity = 1))
val newBrowserFlowId get() = UUID.randomUUID().toString()
val browserFlow = IdMessageFlow<String, BrowserMessage>(MutableSharedFlow(replay = 1, extraBufferCapacity = 1))

sealed class BrowserMessage {
data object Ready : BrowserMessage()
Expand Down

0 comments on commit fe917bb

Please sign in to comment.