From d3f77e5abd50e145edf88f06e2809e3266b45fe3 Mon Sep 17 00:00:00 2001 From: Elie Gambache Date: Mon, 19 Jan 2026 08:13:43 +0200 Subject: [PATCH] fix: add @Stable to SearchResult --- .../kdroidfilter/seforimlibrary/core/models/SearchResult.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/src/commonMain/kotlin/io/github/kdroidfilter/seforimlibrary/core/models/SearchResult.kt b/core/src/commonMain/kotlin/io/github/kdroidfilter/seforimlibrary/core/models/SearchResult.kt index ece89ea..fc0401a 100644 --- a/core/src/commonMain/kotlin/io/github/kdroidfilter/seforimlibrary/core/models/SearchResult.kt +++ b/core/src/commonMain/kotlin/io/github/kdroidfilter/seforimlibrary/core/models/SearchResult.kt @@ -1,5 +1,6 @@ package io.github.kdroidfilter.seforimlibrary.core.models +import androidx.compose.runtime.Stable import kotlinx.serialization.Serializable /** @@ -12,6 +13,7 @@ import kotlinx.serialization.Serializable * @property snippet The text excerpt with highlighting * @property rank The relevance score of the result */ +@Stable @Serializable data class SearchResult( val bookId: Long,