Skip to content

Commit 51dfec0

Browse files
fix: history
1 parent 19ec8da commit 51dfec0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

composeApp/src/commonMain/kotlin/com/corner/ui/decompose/component/DefaultDetailComponent.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ class DefaultDetailComponent(componentContext: ComponentContext) : DetailCompone
278278
historyDeferred.await()
279279
}
280280
var history = historyDeferred.getCompleted()
281-
if (history == null) scope.launch { Db.History.create(detail, detail.currentFlag?.flag!!, detail.vodName!!) }
281+
if (history == null) scope.launch { Db.History.create(detail, detail.currentFlag?.flag!!, detail.vodName?:"") }
282282
else {
283283
if (model.value.currentEp != null && !model.value.currentEp?.name.equals(history.vodRemarks) && history.position != null) {
284284
history = history.copy(position = 0L)

0 commit comments

Comments
 (0)