feature/localeDate #45

Merged
v4l3n71n merged 4 commits from feature/localeDate into main 2025-06-25 19:16:51 +00:00
Showing only changes of commit 7441af6f13 - Show all commits

View File

@ -484,15 +484,13 @@ class _MyHomePageState extends State<ListItemMenu> {
// Update state after getting the response
setState(() {
if (body.isNotEmpty) {
int counter = filteredPosts.length;
// If we have results, map them to Events
filteredPosts = body
.map((e) => Events.fromJson(e as Map<String, dynamic>))
.toList();
if (counter == filteredPosts.length) {
_fetchCount--;
}
int counter = filteredPosts.length;
// If we have results, map them to Events
filteredPosts = body
.map((e) => Events.fromJson(e as Map<String, dynamic>))
.toList();
if (counter == filteredPosts.length) {
_fetchCount--;
}
});
} else {