Compare commits

...

3 commits

Author SHA1 Message Date
Matyáš Caras
7239388551
Added translation using Weblate (Slovak) 2024-01-29 18:02:17 +01:00
Matyáš Caras
da7b46b9cb
chore: apply automatic lint fixes 2024-01-29 18:02:06 +01:00
Matyáš Caras
0e6ca995e1
chore: upgrade flutter 2024-01-29 18:01:35 +01:00
8 changed files with 25 additions and 23 deletions

@ -1 +1 @@
Subproject commit c1df7d07ac60336309bae9dd2d48e7cb8844ec98
Subproject commit 1b197762c51e993cb77d7fafe9729ef2506e2bf7

View file

@ -93,7 +93,7 @@ class WalletManager {
if (!await FlutterFileDialog.isPickDirectorySupported()) {
File("${(await getApplicationDocumentsDirectory()).path}/wallets/$n")
.copySync(
"${await getApplicationDocumentsDirectory()}/export_${n.replaceAll(RegExp('[|\\?*<":>+\[\]/\' ]+'), '_')}_${DateFormat("dd_MM_yyyy").format(DateTime.now())}.json",
"${await getApplicationDocumentsDirectory()}/export_${n.replaceAll(RegExp('[|\\?*<":>+[]/\' ]+'), '_')}_${DateFormat("dd_MM_yyyy").format(DateTime.now())}.json",
);
return;
}
@ -105,7 +105,7 @@ class WalletManager {
File("${(await getApplicationDocumentsDirectory()).path}/wallets/$n")
.readAsBytesSync(),
fileName:
"export_${n.replaceAll(RegExp('[|\\?*<":>+\[\]/\' ]+'), '_')}_${DateFormat("dd_MM_yyyy").format(DateTime.now())}.json",
"export_${n.replaceAll(RegExp('[|\\?*<":>+[]/\' ]+'), '_')}_${DateFormat("dd_MM_yyyy").format(DateTime.now())}.json",
mimeType: "application/json",
);
}

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

@ -0,0 +1 @@
{}

View file

@ -356,7 +356,7 @@ class _HomeViewState extends State<HomeView> {
),
elements: selectedWallet!.entries
.where((element) =>
element.data.name.contains(_filter))
element.data.name.contains(_filter),)
.toList(),
itemComparator: (a, b) =>
b.date.compareTo(a.date),
@ -638,7 +638,7 @@ class _HomeViewState extends State<HomeView> {
final filePath = await FlutterFileDialog.pickFile(
params: OpenFileDialogParams(
dialogType: OpenFileDialogType.image,
sourceType: sourceType));
sourceType: sourceType,),);
if (filePath == null) {
if (mounted) Navigator.of(context).pop();
return;

View file

@ -158,7 +158,7 @@ class _EditCategoriesViewState extends State<EditCategoriesView> {
),
],
title: Text(
AppLocalizations.of(context).pickColor),
AppLocalizations.of(context).pickColor,),
content: Column(
children: [
ColorPicker(
@ -243,7 +243,7 @@ class _EditCategoriesViewState extends State<EditCategoriesView> {
),
],
title: Text(AppLocalizations.of(context)
.setupCategoriesEditingName),
.setupCategoriesEditingName,),
content: SizedBox(
width: 400,
child:

View file

@ -102,7 +102,7 @@ class _TessdataListViewState extends State<TessdataListView> {
context: context,
builder: (c) => AlertDialog.adaptive(
title: Text(AppLocalizations.of(context)
.langDownloadDialog(lang)),
.langDownloadDialog(lang),),
content: StreamBuilder(
builder: (context, snapshot) {
if (snapshot.connectionState ==

View file

@ -5,18 +5,18 @@ packages:
dependency: transitive
description:
name: _fe_analyzer_shared
sha256: "36a321c3d2cbe01cbcb3540a87b8843846e0206df3e691fa7b23e19e78de6d49"
sha256: "0f7b1783ddb1e4600580b8c00d0ddae5b06ae7f0382bd4fcce5db4df97b618e1"
url: "https://pub.dev"
source: hosted
version: "65.0.0"
version: "66.0.0"
analyzer:
dependency: transitive
description:
name: analyzer
sha256: dfe03b90ec022450e22513b5e5ca1f01c0c01de9c3fba2f7fd233cb57a6b9a07
sha256: "5e8bdcda061d91da6b034d64d8e4026f355bcb8c3e7a0ac2da1523205a91a737"
url: "https://pub.dev"
source: hosted
version: "6.3.0"
version: "6.4.0"
archive:
dependency: "direct main"
description:
@ -109,10 +109,10 @@ packages:
dependency: transitive
description:
name: built_value
sha256: c9aabae0718ec394e5bc3c7272e6bb0dc0b32201a08fe185ec1d8401d3e39309
sha256: a3ec2e0f967bc47f69f95009bb93db936288d61d5343b9436e378b28a2f830c6
url: "https://pub.dev"
source: hosted
version: "8.8.1"
version: "8.9.0"
characters:
dependency: transitive
description:
@ -253,10 +253,10 @@ packages:
dependency: transitive
description:
name: ffi
sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878"
sha256: "493f37e7df1804778ff3a53bd691d8692ddf69702cf4c1c1096a2e41b4779e21"
url: "https://pub.dev"
source: hosted
version: "2.1.0"
version: "2.1.2"
file:
dependency: transitive
description:
@ -277,10 +277,10 @@ packages:
dependency: "direct main"
description:
name: fl_chart
sha256: fe6fec7d85975a99c73b9515a69a6e291364accfa0e4a5b3ce6de814d74b9a1c
sha256: b5e2b0f13d93f8c532b5a2786bfb44580de1f50b927bf95813fa1af617e9caf8
url: "https://pub.dev"
source: hosted
version: "0.66.0"
version: "0.66.1"
flex_color_picker:
dependency: "direct main"
description:
@ -438,10 +438,10 @@ packages:
dependency: transitive
description:
name: font_awesome_flutter
sha256: "52671aea66da73b58d42ec6d0912b727a42248dd9a7c76d6c20f275783c48c08"
sha256: "275ff26905134bcb59417cf60ad979136f1f8257f2f449914b2c3e05bbb4cd6f"
url: "https://pub.dev"
source: hosted
version: "10.6.0"
version: "10.7.0"
frontend_server_client:
dependency: transitive
description:
@ -632,10 +632,10 @@ packages:
dependency: transitive
description:
name: mime
sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e
sha256: "2e123074287cc9fd6c09de8336dae606d1ddb88d9ac47358826db698c176a1f2"
url: "https://pub.dev"
source: hosted
version: "1.0.4"
version: "1.0.5"
nested:
dependency: transitive
description:
@ -1114,5 +1114,5 @@ packages:
source: hosted
version: "3.1.2"
sdks:
dart: ">=3.2.0 <4.0.0"
dart: ">=3.3.0-279.1.beta <4.0.0"
flutter: ">=3.16.0"

View file

@ -40,6 +40,7 @@ dependencies:
settings_ui: ^2.0.2
shared_preferences: ^2.2.2
flutter_gen: any
dev_dependencies:
build_runner: ^2.4.6
flutter_launcher_icons: ^0.13.1