fix: make UserNewsResource constructor public so core:ui can construct previews

Co-Authored-By: Claude <noreply@anthropic.com>
pull/2125/head
Rohit Karadkar 3 months ago
parent b65312d7db
commit 06fbc6021e

@ -22,7 +22,7 @@ import kotlinx.datetime.Instant
* A [NewsResource] with additional user information such as whether the user is following the * A [NewsResource] with additional user information such as whether the user is following the
* news resource's topics and whether they have saved (bookmarked) this news resource. * news resource's topics and whether they have saved (bookmarked) this news resource.
*/ */
data class UserNewsResource internal constructor( data class UserNewsResource(
val newsResource: NewsResource, val newsResource: NewsResource,
val userData: UserData, val userData: UserData,
) { ) {

Loading…
Cancel
Save