forked from axiom-team/gecko
FIX GQL CURSOR !
This commit is contained in:
parent
24be168cd4
commit
654281b34a
|
@ -180,6 +180,8 @@ class _HistoryListScreenState extends State<HistoryListScreen> {
|
|||
if (_scrollController.position.pixels ==
|
||||
_scrollController.position.maxScrollExtent) {
|
||||
if (!result.loading) {
|
||||
print('B');
|
||||
print(opts);
|
||||
fetchMore(opts);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
const String getMyRepositories = r'''
|
||||
query ($pubkey: String!, $number: Int!) {
|
||||
query ($pubkey: String!, $number: Int!, $cursor: String) {
|
||||
txsHistoryBc(
|
||||
pubkeyOrScript: $pubkey
|
||||
pagination: { pageSize: $number, ord: DESC }
|
||||
pagination: { pageSize: $number, ord: DESC, cursor: $cursor }
|
||||
) {
|
||||
both {
|
||||
pageInfo {
|
||||
|
|
Loading…
Reference in New Issue