Revert "that's a strange bug indeed"

This reverts commit 7aeccb46cf.
This commit is contained in:
Felix 2019-08-27 11:41:08 +01:00
parent 7aeccb46cf
commit c6f6917226

View file

@ -111,7 +111,6 @@ 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(() {});
}); });