Chapters FAB doesn't depend on the recognized chapter number. Cloudflare resolver fix

This commit is contained in:
len
2016-05-28 19:10:09 +02:00
parent 6beff242b0
commit 02a697031f
4 changed files with 20 additions and 25 deletions
@@ -68,8 +68,8 @@ public class Manga implements Serializable {
public static final int COMPLETED = 2;
public static final int LICENSED = 3;
public static final int SORT_AZ = 0x00000000;
public static final int SORT_ZA = 0x00000001;
public static final int SORT_DESC = 0x00000000;
public static final int SORT_ASC = 0x00000001;
public static final int SORT_MASK = 0x00000001;
// Generic filter that does not filter anything
@@ -174,8 +174,8 @@ public class Manga implements Serializable {
chapter_flags = (chapter_flags & ~mask) | (flag & mask);
}
public boolean sortChaptersAZ() {
return (chapter_flags & SORT_MASK) == SORT_AZ;
public boolean sortDescending() {
return (chapter_flags & SORT_MASK) == SORT_DESC;
}
// Used to display the chapter's title one way or another