feature/pagination #42
@ -469,7 +469,7 @@ class _MyHomePageState extends State<ListItemMenu> {
|
|||||||
setState(() {
|
setState(() {
|
||||||
if ((body.isNotEmpty) || (_fetchCount > 0)) {
|
if ((body.isNotEmpty) || (_fetchCount > 0)) {
|
||||||
if (body.isEmpty) {
|
if (body.isEmpty) {
|
||||||
_fetchCount = 0;
|
_fetchCount--;
|
||||||
}
|
}
|
||||||
// If we have results, map them to Events
|
// If we have results, map them to Events
|
||||||
filteredPosts.addAll(
|
filteredPosts.addAll(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user