that's a strange bug indeed
This commit is contained in:
parent
ac82ec4d48
commit
7aeccb46cf
1 changed files with 1 additions and 0 deletions
|
@ -111,6 +111,7 @@ class ReceiptPage2State extends State<ReceiptPage2> {
|
|||
Future<List<String>> _futureCats = getCats();
|
||||
_categories.add("Fetching categories...");
|
||||
_futureCats.then((value) {
|
||||
print("Categories: " + value.toString());
|
||||
_categories = value;
|
||||
setState(() {});
|
||||
});
|
||||
|
|
Reference in a new issue