Skip to content

Commit

Permalink
don't use new version before API version 2.0.7 (firefly 6.0.22)
Browse files Browse the repository at this point in the history
otherwise chart breaks due to firefly-iii/firefly-iii#7910
  • Loading branch information
dreautall committed Sep 12, 2023
1 parent fd7c2c8 commit 87d2ee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pages/home/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class _HomeMainState extends State<HomeMain>
lastDaysIncome.clear();

// With a new API the number of API calls is reduced from 14 to 2
if (context.read<FireflyService>().apiVersion! >= Version(2, 0, 6)) {
if (context.read<FireflyService>().apiVersion! >= Version(2, 0, 7)) {
final FireflyIiiV2 apiV2 = context.read<FireflyService>().apiV2;

final List<int> accounts = <int>[];
Expand Down

0 comments on commit 87d2ee0

Please sign in to comment.