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 authored and txyyh committed 2022-11-03 05:39:36 +00:00
1 parent 4f0acb465a
commit 760ca8d6fb
8 files changed
+45 -17

No files matched your search

@@ -45,6 +45,10 @@ import java.util.List;
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) {