Improve GalleryListScene

This commit is contained in:
seven332 committed 2016-01-26 19:54:26 +08:00
1 parent d1650c4ec5
commit 24a64c23dc
17 files changed
+326 -46

No files matched your search

@@ -127,4 +127,16 @@ public class EhUtils {
return gi.title;
}
}
public static String getSpecifyUploaderKeyword(String query) {
return "uploader:\"" + query + "\"";
}
public static String getKeywordFromSpecifyUploader(String query) {
if (query.startsWith("uploader:\"") && query.endsWith("\"") && query.length() > 11) {
return query.substring(10, query.length() - 1);
} else {
return query;
}
}
}