Skip to content

Commit

Permalink
Open article notification to unread feed filter
Browse files Browse the repository at this point in the history
  • Loading branch information
jocmp committed Oct 24, 2024
1 parent 10f37f0 commit 834444d
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import android.app.PendingIntent
import android.content.Context
import android.content.Intent
import android.os.Bundle
import android.util.Log
import androidx.core.app.NotificationCompat
import androidx.core.app.NotificationCompat.Style
import com.capyreader.app.MainActivity
Expand All @@ -20,7 +19,6 @@ import com.jocmp.capy.Account
import com.jocmp.capy.ArticleFilter
import com.jocmp.capy.ArticleStatus
import com.jocmp.capy.notifications.ArticleNotification
import java.lang.reflect.Field
import java.time.ZonedDateTime

class ArticleNotifications(
Expand Down Expand Up @@ -92,7 +90,7 @@ class ArticleNotifications(
appPreferences.filter.set(
ArticleFilter.Feeds(
feedID,
feedStatus = ArticleStatus.ALL
feedStatus = ArticleStatus.UNREAD
)
)
appPreferences.articleID.set(articleID)
Expand Down

0 comments on commit 834444d

Please sign in to comment.