This commit is contained in:
spaced4ndy
2024-11-22 16:28:39 +04:00
parent 45cee1d0fa
commit 3b1e8c800d
@@ -124,7 +124,7 @@ fun ChatListView(chatModel: ChatModel, userPickerState: MutableStateFlow<Animate
val showUpdatedConditions = chatModel.conditions.value.conditionsAction?.shouldShowNotice ?: false
if (showWhatsNew) {
delay(1000L)
ModalManager.center.showCustomModal { close -> WhatsNewView(close = close, showWhatsNew = remember { mutableStateOf(true) }, updatedConditions = showUpdatedConditions) }
ModalManager.center.showCustomModal { close -> WhatsNewView(close = close, updatedConditions = showUpdatedConditions) }
} else if (showUpdatedConditions) {
ModalManager.center.showModalCloseable(endButtons = { ConditionsLinkButton() }) { close ->
LaunchedEffect(Unit) {