Close #559, add subscription
This commit is contained in:
1 parent
94db37c899
commit
d463cf2295
11 files changed
+79
-3
No files matched your search
@@ -64,6 +64,9 @@ public class EhUrl {
|
||||
public static final String MY_TAGS_E = HOST_E + "mytags";
|
||||
public static final String MY_TAGS_EX = HOST_EX + "mytags";
|
||||
|
||||
public static final String WATCHED_E = HOST_E + "watched";
|
||||
public static final String WATCHED_EX = HOST_EX + "watched";
|
||||
|
||||
private static final String URL_PREFIX_THUMB_E = "https://ul.ehgt.org/";
|
||||
private static final String URL_PREFIX_THUMB_EX = "https://exhentai.org/t/";
|
||||
|
||||
@@ -190,6 +193,17 @@ public class EhUrl {
|
||||
}
|
||||
}
|
||||
|
||||
@NonNull
|
||||
public static String getWatchedUrl() {
|
||||
switch (Settings.getGallerySite()) {
|
||||
default:
|
||||
case SITE_E:
|
||||
return WATCHED_E;
|
||||
case SITE_EX:
|
||||
return WATCHED_EX;
|
||||
}
|
||||
}
|
||||
|
||||
public static String getThumbUrlPrefix() {
|
||||
switch (Settings.getGallerySite()) {
|
||||
default:
|
||||
|
||||
Reference in new issue
Block a user