logout works properly

This commit is contained in:
Felix 2019-08-27 12:18:02 +01:00
parent 204cd74544
commit 96fdc01eea
4 changed files with 13 additions and 24 deletions

View file

@ -112,6 +112,7 @@ class ReceiptPage2State extends State<ReceiptPage2> {
_categories.add("Fetching categories...");
_futureCats.then((value) {
_categories = value;
_categories.insert(0, "Uncategorised");
setState(() {});
});
}
@ -406,8 +407,7 @@ class ReceiptPage2State extends State<ReceiptPage2> {
height: MediaQuery.of(context)
.copyWith()
.size
.height /
3,
.height / 3,
child: CupertinoPicker(
backgroundColor: Colors.white,
children: _categories