File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
app/src/main/java/me/ash/reader/infrastructure/rss Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -20,9 +20,9 @@ import rust.nostr.sdk.getNip05Profile
20
20
import java.time.Duration
21
21
22
22
sealed interface FetchedFeed {
23
- fun getIconLink (): String
23
+ fun getIconLink (): String?
24
24
// The function below is for compatibility with SyndFeed
25
- fun getIconUrl (): String
25
+ fun getIconUrl (): String?
26
26
fun getFeedLink (): String
27
27
var title: String
28
28
fun getFeedAuthor (): String
@@ -33,11 +33,11 @@ class SyndFeedDelegate(
33
33
private val syndFeed : SyndFeed
34
34
): FetchedFeed {
35
35
36
- override fun getIconLink (): String {
36
+ override fun getIconLink (): String? {
37
37
return syndFeed.icon.link
38
38
}
39
39
40
- override fun getIconUrl (): String {
40
+ override fun getIconUrl (): String? {
41
41
return syndFeed.icon.url
42
42
}
43
43
@@ -276,4 +276,4 @@ class NostrFeedResult(
276
276
var feedTitle : String ,
277
277
val authorPictureLink : String ,
278
278
val articles : List <Event >
279
- )
279
+ )
You can’t perform that action at this time.
0 commit comments