that's a strange bug indeed

This commit is contained in:
Felix 2019-08-27 11:39:20 +01:00
parent ac82ec4d48
commit 7aeccb46cf

View file

@ -111,6 +111,7 @@ class ReceiptPage2State extends State<ReceiptPage2> {
Future<List<String>> _futureCats = getCats(); Future<List<String>> _futureCats = getCats();
_categories.add("Fetching categories..."); _categories.add("Fetching categories...");
_futureCats.then((value) { _futureCats.then((value) {
print("Categories: " + value.toString());
_categories = value; _categories = value;
setState(() {}); setState(() {});
}); });