From 814e51f8f286aef1bc0559d233d565bcf3c3ef9c Mon Sep 17 00:00:00 2001 From: asl97 Date: Wed, 11 Dec 2024 21:38:16 +0800 Subject: [PATCH] Add an user noticable notice for why the snippet is shown --- .../feeder/ui/compose/feedarticle/ArticleViewModel.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/nononsenseapps/feeder/ui/compose/feedarticle/ArticleViewModel.kt b/app/src/main/java/com/nononsenseapps/feeder/ui/compose/feedarticle/ArticleViewModel.kt index b10cfec44..29659367c 100644 --- a/app/src/main/java/com/nononsenseapps/feeder/ui/compose/feedarticle/ArticleViewModel.kt +++ b/app/src/main/java/com/nononsenseapps/feeder/ui/compose/feedarticle/ArticleViewModel.kt @@ -207,7 +207,7 @@ class ArticleViewModel( } else { Log.e(LOG_TAG, "No default file to parse") textToDisplay.update { TextToDisplay.CONTENT } - htmlLinearizer.linearize(article.snippet, article.feedUrl ?: "") + htmlLinearizer.linearize("Sorry, due to a coding oversight, the full offline version of this article has been permanently deleted, see feeder#443 for updates on this issue

" + article.snippet, article.feedUrl ?: "") } }