Compare commits

...

2 commits

Author SHA1 Message Date
Matyáš Caras 0e2adb9dfd
Added translation using Weblate (Slovak) 2024-02-10 16:20:51 +01:00
Matyáš Caras 0a7dbbde78
chore: auto-fix lints 2024-02-10 16:20:44 +01:00
4 changed files with 5 additions and 5 deletions

1
lib/l10n/app_sk.arb Normal file
View file

@ -0,0 +1 @@
{}

View file

@ -16,9 +16,8 @@ class CreateSingleEntryView extends StatefulWidget {
/// Used when user wants to add new entry
const CreateSingleEntryView({
required this.w,
super.key,
required this.locale, super.key,
this.editEntry,
required this.locale,
});
/// The wallet, where the entry will be saved to

View file

@ -47,7 +47,7 @@ class _HomeViewState extends State<HomeView> {
var _searchActive = false; // whether search field is shown
var _filter = ""; // search filter
final searchFocus = FocusNode();
var sort = SortType.newest;
SortType sort = SortType.newest;
OverlayEntry? overlayEntry;
@override
@ -247,7 +247,7 @@ class _HomeViewState extends State<HomeView> {
.then((value) async {
wallets = await WalletManager.listWallets();
selectedWallet = await WalletManager.loadWallet(
selectedWallet!.name);
selectedWallet!.name,);
});
} else if (value == AppLocalizations.of(context).about) {
showAbout(context);

View file

@ -156,7 +156,7 @@ class _SetupViewState extends State<SetupView> {
name: name,
currency: _selectedCurrency,
categories: categories,
starterBalance: double.parse(_balanceController.text));
starterBalance: double.parse(_balanceController.text),);
await WalletManager.saveWallet(wallet);
if (widget.newWallet && context.mounted) {