diff --git a/lib/api/wallet.dart b/lib/api/wallet.dart index 077cea5..0b3cec5 100644 --- a/lib/api/wallet.dart +++ b/lib/api/wallet.dart @@ -132,7 +132,8 @@ class Wallet { : recurringEntries[recurringEntries.indexOf(ent)].lastRunDate.day, ); // add the variable again to check if we aren't missing any entries logger.i( - "Last recurred date is now on ${DateFormat.yMMMMd().format(m)} (${n.isAfter(m)})"); + "Last recurred date is now on ${DateFormat.yMMMMd().format(m)} (${n.isAfter(m)})", + ); } WalletManager.saveWallet(this); // save wallet } diff --git a/lib/util/graphs.dart b/lib/util/graphs.dart index 2ccd5e5..9e2ed5b 100644 --- a/lib/util/graphs.dart +++ b/lib/util/graphs.dart @@ -522,6 +522,7 @@ class Indicator extends StatelessWidget { /// Text shown next to the indicator circle final String text; + /// Style for the text final TextStyle textStyle; @override diff --git a/lib/views/create_entry.dart b/lib/views/create_entry.dart index 1b27c8c..76320f9 100644 --- a/lib/views/create_entry.dart +++ b/lib/views/create_entry.dart @@ -192,7 +192,9 @@ class _CreateSingleEntryViewState extends State { onPressed: () { if (newEntry.data.name.isEmpty) { showMessage( - AppLocalizations.of(context).errorEmptyName, context); + AppLocalizations.of(context).errorEmptyName, + context, + ); return; } if (widget.editEntry != null) { diff --git a/lib/views/create_recur_entry.dart b/lib/views/create_recur_entry.dart index 1ad51a6..be03897 100644 --- a/lib/views/create_recur_entry.dart +++ b/lib/views/create_recur_entry.dart @@ -315,7 +315,9 @@ class _CreateRecurringEntryViewState extends State { onPressed: () { if (newEntry.data.name.isEmpty) { showMessage( - AppLocalizations.of(context).errorEmptyName, context); + AppLocalizations.of(context).errorEmptyName, + context, + ); return; } if (widget.editEntry != null) {