chore: fix lint notices
This commit is contained in:
parent
3f2b1d723f
commit
27bfadc015
4 changed files with 9 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -192,7 +192,9 @@ class _CreateSingleEntryViewState extends State<CreateSingleEntryView> {
|
|||
onPressed: () {
|
||||
if (newEntry.data.name.isEmpty) {
|
||||
showMessage(
|
||||
AppLocalizations.of(context).errorEmptyName, context);
|
||||
AppLocalizations.of(context).errorEmptyName,
|
||||
context,
|
||||
);
|
||||
return;
|
||||
}
|
||||
if (widget.editEntry != null) {
|
||||
|
|
|
@ -315,7 +315,9 @@ class _CreateRecurringEntryViewState extends State<CreateRecurringEntryView> {
|
|||
onPressed: () {
|
||||
if (newEntry.data.name.isEmpty) {
|
||||
showMessage(
|
||||
AppLocalizations.of(context).errorEmptyName, context);
|
||||
AppLocalizations.of(context).errorEmptyName,
|
||||
context,
|
||||
);
|
||||
return;
|
||||
}
|
||||
if (widget.editEntry != null) {
|
||||
|
|
Loading…
Reference in a new issue