From 030f482a54de592a0d261f3030499eac0a5a1036 Mon Sep 17 00:00:00 2001 From: Felix Date: Fri, 23 Aug 2019 17:52:48 +0100 Subject: [PATCH] categories still broken --- ios/Podfile.lock | 4 ++-- ios/Runner.xcodeproj/project.pbxproj | 2 +- lib/pages/receipt_page_2.dart | 8 +++++++- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/ios/Podfile.lock b/ios/Podfile.lock index e0081c9..371ba09 100644 --- a/ios/Podfile.lock +++ b/ios/Podfile.lock @@ -14,7 +14,7 @@ PODS: - Flutter DEPENDENCIES: - - Flutter (from `.symlinks/flutter/ios-profile`) + - Flutter (from `.symlinks/flutter/ios`) - google_maps_flutter (from `.symlinks/plugins/google_maps_flutter/ios`) - shared_preferences (from `.symlinks/plugins/shared_preferences/ios`) - url_launcher (from `.symlinks/plugins/url_launcher/ios`) @@ -25,7 +25,7 @@ SPEC REPOS: EXTERNAL SOURCES: Flutter: - :path: ".symlinks/flutter/ios-profile" + :path: ".symlinks/flutter/ios" google_maps_flutter: :path: ".symlinks/plugins/google_maps_flutter/ios" shared_preferences: diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index f0bdeff..8fc019b 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -282,7 +282,7 @@ ); inputPaths = ( "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh", - "${PODS_ROOT}/../.symlinks/flutter/ios-profile/Flutter.framework", + "${PODS_ROOT}/../.symlinks/flutter/ios/Flutter.framework", ); name = "[CP] Embed Pods Frameworks"; outputPaths = ( diff --git a/lib/pages/receipt_page_2.dart b/lib/pages/receipt_page_2.dart index 73bc2ae..d98f9c7 100644 --- a/lib/pages/receipt_page_2.dart +++ b/lib/pages/receipt_page_2.dart @@ -95,6 +95,12 @@ class ReceiptPage2State extends State { List _sampleRecurringOptions = new List(7); List _categories = new List(); + @override + void initState() { + super.initState(); + } + + @override Widget build(BuildContext context) { var _widgetHeight = MediaQuery.of(context).size.height * 0.06 < 40.0 @@ -105,8 +111,8 @@ class ReceiptPage2State extends State { Future> _futureCats = getCats(); _categories.add("Fetching categories..."); _futureCats.then((value) { - _categories = null; _categories = value; + setState(() {}); }); }