diff --git a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/notifications/CardFeedContentState.kt b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/notifications/CardFeedContentState.kt index 4ed8adb6ae..0bbf0d54b2 100644 --- a/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/notifications/CardFeedContentState.kt +++ b/amethyst/src/main/java/com/vitorpamplona/amethyst/ui/screen/loggedIn/notifications/CardFeedContentState.kt @@ -62,7 +62,6 @@ import kotlinx.coroutines.flow.MutableStateFlow import kotlinx.coroutines.flow.asStateFlow import kotlinx.coroutines.launch import java.time.Instant -import java.time.LocalDate import java.time.ZoneId @Stable @@ -273,7 +272,12 @@ class CardFeedContentState( // reaction/zap/repost — a meaningful GC saving on full feed conversions. val zone = ZoneId.systemDefault() - fun epochDay(createdAt: Long?): Long = Instant.ofEpochSecond(createdAt ?: 0L).atZone(zone).toLocalDate().toEpochDay() + fun epochDay(createdAt: Long?): Long = + Instant + .ofEpochSecond(createdAt ?: 0L) + .atZone(zone) + .toLocalDate() + .toEpochDay() val allBaseNotes = zapsPerEvent.keys + boostsPerEvent.keys + reactionsPerEvent.keys + nutzapsPerEvent.keys val multiCards =