mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-04 02:09:35 +02:00
fixed custom catalog search
This commit is contained in:
parent
16fd2dd17e
commit
ad05ea1664
9 changed files with 90 additions and 95 deletions
|
@ -180,8 +180,12 @@ public class NetworkLibrary {
|
|||
new NetworkDatabase.ICustomLinksHandler() {
|
||||
public void handleCustomLinkData(int id, String siteName,
|
||||
String title, String summary, String icon, Map<String,UrlInfo> infos) {
|
||||
final ICustomNetworkLink link = OPDSLinkReader.createCustomLink(id, siteName, title, summary, icon, infos);
|
||||
if (link != null) {
|
||||
if (title != null &&
|
||||
siteName != null &&
|
||||
infos.get(INetworkLink.URL_MAIN) != null) {
|
||||
final ICustomNetworkLink link = OPDSLinkReader.createCustomLink(
|
||||
id, siteName, title, summary, icon, infos
|
||||
);
|
||||
addLinkInternal(link);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue