Skip to content

Commit

Permalink
Applies spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
luigihenrick committed Jan 30, 2025
1 parent 0381e75 commit b804c24
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,7 @@ class RssRepository(
id = id,
name = name,
feedIds = feedIds?.filterNot { it.isBlank() }.orEmpty(),
feedIconLinks =
feedIconLinks?.split(",")?.filterNot { it.isBlank() }.orEmpty(),
feedIconLinks = feedIconLinks?.split(",")?.filterNot { it.isBlank() }.orEmpty(),
createdAt = createdAt!!,
updatedAt = updatedAt!!,
pinnedAt = pinnedAt,
Expand Down Expand Up @@ -697,8 +696,7 @@ class RssRepository(
id = id,
name = name,
feedIds = feedIds?.filterNot { it.isBlank() }.orEmpty(),
feedIconLinks =
feedIconLinks?.split(",")?.filterNot { it.isBlank() }.orEmpty(),
feedIconLinks = feedIconLinks?.split(",")?.filterNot { it.isBlank() }.orEmpty(),
createdAt = createdAt,
updatedAt = updatedAt!!,
pinnedAt = pinnedAt,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ package dev.sasikanth.rss.reader.core.model.local
import kotlinx.datetime.Instant

data class FeedGroup(
override val id: String,
val name: String,
val feedIds: List<String>,
val feedIconLinks: List<String>,
val numberOfUnreadPosts: Long = 0,
val createdAt: Instant,
val updatedAt: Instant,
override val pinnedAt: Instant?,
override val sourceType: SourceType = SourceType.FeedGroup,
override val pinnedPosition: Double = 0.0,
override val id: String,
val name: String,
val feedIds: List<String>,
val feedIconLinks: List<String>,
val numberOfUnreadPosts: Long = 0,
val createdAt: Instant,
val updatedAt: Instant,
override val pinnedAt: Instant?,
override val sourceType: SourceType = SourceType.FeedGroup,
override val pinnedPosition: Double = 0.0,
) : Source

0 comments on commit b804c24

Please sign in to comment.