chore: fix lint notices

This commit is contained in:
Matyáš Caras 2024-01-09 00:36:38 +01:00
parent 3f2b1d723f
commit 27bfadc015
Signed by untrusted user who does not match committer: hernik
GPG key ID: 2A3175F98820C5C6
4 changed files with 9 additions and 3 deletions

View file

@ -132,7 +132,8 @@ class Wallet {
: recurringEntries[recurringEntries.indexOf(ent)].lastRunDate.day, : recurringEntries[recurringEntries.indexOf(ent)].lastRunDate.day,
); // add the variable again to check if we aren't missing any entries ); // add the variable again to check if we aren't missing any entries
logger.i( 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 WalletManager.saveWallet(this); // save wallet
} }

View file

@ -522,6 +522,7 @@ class Indicator extends StatelessWidget {
/// Text shown next to the indicator circle /// Text shown next to the indicator circle
final String text; final String text;
/// Style for the text
final TextStyle textStyle; final TextStyle textStyle;
@override @override

View file

@ -192,7 +192,9 @@ class _CreateSingleEntryViewState extends State<CreateSingleEntryView> {
onPressed: () { onPressed: () {
if (newEntry.data.name.isEmpty) { if (newEntry.data.name.isEmpty) {
showMessage( showMessage(
AppLocalizations.of(context).errorEmptyName, context); AppLocalizations.of(context).errorEmptyName,
context,
);
return; return;
} }
if (widget.editEntry != null) { if (widget.editEntry != null) {

View file

@ -315,7 +315,9 @@ class _CreateRecurringEntryViewState extends State<CreateRecurringEntryView> {
onPressed: () { onPressed: () {
if (newEntry.data.name.isEmpty) { if (newEntry.data.name.isEmpty) {
showMessage( showMessage(
AppLocalizations.of(context).errorEmptyName, context); AppLocalizations.of(context).errorEmptyName,
context,
);
return; return;
} }
if (widget.editEntry != null) { if (widget.editEntry != null) {