Skeleton Delay für group- und group create view #58

Merged
sneeex merged 3 commits from enhancement/54-delay-für-groups-view-skeleton into development 2025-11-23 17:10:38 +00:00
Showing only changes of commit 9e8bab1a60 - Show all commits

View File

@@ -34,7 +34,10 @@ class _GroupsViewState extends State<GroupsView> {
void initState() {
super.initState();
db = Provider.of<AppDatabase>(context, listen: false);
_allGroupsFuture = db.groupDao.getAllGroups();
_allGroupsFuture = Future.delayed(
const Duration(milliseconds: 400),
() => db.groupDao.getAllGroups(),
);
}
@override