Fix gamemaster roll sharing.
This commit is contained in:
parent
86b8de9dcd
commit
42d865c4e3
1 changed files with 3 additions and 1 deletions
|
|
@ -36,7 +36,9 @@ import com.pixelized.rplexicon.utilitary.extentions.toLabel
|
|||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
import kotlinx.coroutines.delay
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import kotlinx.coroutines.flow.combine
|
||||
import kotlinx.coroutines.flow.map
|
||||
import kotlinx.coroutines.launch
|
||||
import kotlinx.coroutines.withContext
|
||||
import javax.inject.Inject
|
||||
|
|
@ -653,7 +655,7 @@ class SummaryFactory @Inject constructor(
|
|||
val data = HeaderStatStruct()
|
||||
characterSheetRepository.data
|
||||
.combine(throwRepository.getThrows()) { sheets, fire ->
|
||||
data.sheets = sheets
|
||||
data.sheets = sheets.filter { entry -> entry.value.active }
|
||||
data.fires = fire.details
|
||||
}
|
||||
.collect {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue