chore: auto-fix lints
This commit is contained in:
parent
96135f0bf5
commit
0a7dbbde78
3 changed files with 4 additions and 5 deletions
|
@ -16,9 +16,8 @@ class CreateSingleEntryView extends StatefulWidget {
|
||||||
/// Used when user wants to add new entry
|
/// Used when user wants to add new entry
|
||||||
const CreateSingleEntryView({
|
const CreateSingleEntryView({
|
||||||
required this.w,
|
required this.w,
|
||||||
super.key,
|
required this.locale, super.key,
|
||||||
this.editEntry,
|
this.editEntry,
|
||||||
required this.locale,
|
|
||||||
});
|
});
|
||||||
|
|
||||||
/// The wallet, where the entry will be saved to
|
/// The wallet, where the entry will be saved to
|
||||||
|
|
|
@ -47,7 +47,7 @@ class _HomeViewState extends State<HomeView> {
|
||||||
var _searchActive = false; // whether search field is shown
|
var _searchActive = false; // whether search field is shown
|
||||||
var _filter = ""; // search filter
|
var _filter = ""; // search filter
|
||||||
final searchFocus = FocusNode();
|
final searchFocus = FocusNode();
|
||||||
var sort = SortType.newest;
|
SortType sort = SortType.newest;
|
||||||
OverlayEntry? overlayEntry;
|
OverlayEntry? overlayEntry;
|
||||||
|
|
||||||
@override
|
@override
|
||||||
|
@ -247,7 +247,7 @@ class _HomeViewState extends State<HomeView> {
|
||||||
.then((value) async {
|
.then((value) async {
|
||||||
wallets = await WalletManager.listWallets();
|
wallets = await WalletManager.listWallets();
|
||||||
selectedWallet = await WalletManager.loadWallet(
|
selectedWallet = await WalletManager.loadWallet(
|
||||||
selectedWallet!.name);
|
selectedWallet!.name,);
|
||||||
});
|
});
|
||||||
} else if (value == AppLocalizations.of(context).about) {
|
} else if (value == AppLocalizations.of(context).about) {
|
||||||
showAbout(context);
|
showAbout(context);
|
||||||
|
|
|
@ -156,7 +156,7 @@ class _SetupViewState extends State<SetupView> {
|
||||||
name: name,
|
name: name,
|
||||||
currency: _selectedCurrency,
|
currency: _selectedCurrency,
|
||||||
categories: categories,
|
categories: categories,
|
||||||
starterBalance: double.parse(_balanceController.text));
|
starterBalance: double.parse(_balanceController.text),);
|
||||||
await WalletManager.saveWallet(wallet);
|
await WalletManager.saveWallet(wallet);
|
||||||
|
|
||||||
if (widget.newWallet && context.mounted) {
|
if (widget.newWallet && context.mounted) {
|
||||||
|
|
Loading…
Reference in a new issue