Skip to content
This repository was archived by the owner on Nov 28, 2024. It is now read-only.

Commit c18ff60

Browse files
committed
Avoid some favicon errors when URL is empy
1 parent d87e66e commit c18ff60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/org/freshrss/easyrss/network/SubscriptionDataSyncer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ private void syncSubscriptionIcons() throws DataSyncerException {
115115
final String uid = cur.getString(0);
116116
final byte[] data = cur.getBlob(1);
117117
final String subUrl = cur.getString(2);
118-
if (subUrl != null && data == null) {
118+
if (subUrl != null && !subUrl.trim().equals("") && data == null) {
119119
final SubscriptionIconUrl fetchUrl = new SubscriptionIconUrl(isHttpsConnection, subUrl);
120120
try {
121121
final byte[] iconData = httpGetQueryByte(fetchUrl);

0 commit comments

Comments
 (0)