Fix a var that should have been a val (#405)

This commit is contained in:
Mark Bestavros 2023-05-16 22:58:18 -04:00 committed by GitHub
parent 84156d2754
commit 26b4c65e98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -199,7 +199,7 @@ class FeverRssRepository @Inject constructor(
) {
super.markAsRead(groupId, feedId, articleId, before, isUnread)
val feverAPI = getFeverAPI()
var beforeUnixTimestamp = (before?.time ?: Date(Long.MAX_VALUE).time) / 1000
val beforeUnixTimestamp = (before?.time ?: Date(Long.MAX_VALUE).time) / 1000
when {
groupId != null -> {
feverAPI.markGroup(