Minimal changes to rework Favourite grabs

TODO: Reimpl goto, refresh pages
And take care of per page counts by user
This commit is contained in:
tarsin committed 2022-11-03 13:18:38 +08:00
1 parent 6d1e0089e5
commit 567b6f7659
8 files changed
+45 -17

No files matched your search

@@ -47,6 +47,10 @@ import java.util.Objects;
public final class CommonOperations {
public static int getPagesForFounds(int founds, int per) {
return (int)Math.ceil((double) founds/per);
}
private static void doAddToFavorites(Activity activity, GalleryInfo galleryInfo,
int slot, EhClient.Callback<Void> listener) {
if (slot == -1) {