1.0.0 release #31

Merged
hernik merged 31 commits from dev into main 2024-02-10 16:27:33 +01:00
5 changed files with 8 additions and 7 deletions
Showing only changes of commit da7b46b9cb - Show all commits

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",
);
}

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

@ -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