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 ==
|
if (_scrollController.position.pixels ==
|
||||||
_scrollController.position.maxScrollExtent) {
|
_scrollController.position.maxScrollExtent) {
|
||||||
if (!result.loading) {
|
if (!result.loading) {
|
||||||
|
print('B');
|
||||||
|
print(opts);
|
||||||
fetchMore(opts);
|
fetchMore(opts);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
const String getMyRepositories = r'''
|
const String getMyRepositories = r'''
|
||||||
query ($pubkey: String!, $number: Int!) {
|
query ($pubkey: String!, $number: Int!, $cursor: String) {
|
||||||
txsHistoryBc(
|
txsHistoryBc(
|
||||||
pubkeyOrScript: $pubkey
|
pubkeyOrScript: $pubkey
|
||||||
pagination: { pageSize: $number, ord: DESC }
|
pagination: { pageSize: $number, ord: DESC, cursor: $cursor }
|
||||||
) {
|
) {
|
||||||
both {
|
both {
|
||||||
pageInfo {
|
pageInfo {
|
||||||
|
|
Loading…
Reference in New Issue