From 14e4496de4138c317791030215803e7d57ec85bc Mon Sep 17 00:00:00 2001 From: davidpkj Date: Sun, 5 Mar 2023 13:05:25 +0100 Subject: Refactored according to flutter lint --- lib/util/file_handler.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/util/file_handler.dart') diff --git a/lib/util/file_handler.dart b/lib/util/file_handler.dart index db1d725..d6b909d 100644 --- a/lib/util/file_handler.dart +++ b/lib/util/file_handler.dart @@ -35,7 +35,7 @@ class FileHandler { ToastBar.showToastBar(context, AppLocalizations.of(context)!.exportSuccess, actionLabel: ""); Notifications.notify(AppLocalizations.of(context)!.exportSuccess, AppLocalizations.of(context)!.tapHint, _file.path); } catch (e) { - print(e); + debugPrint("$e"); ToastBar.showToastBar(context, AppLocalizations.of(context)!.exportError, actionLabel: ""); } } @@ -80,7 +80,7 @@ class FileHandler { return File(result.files.single.path!); } } catch (e) { - print(e); + debugPrint("$e"); ToastBar.showToastBar(context, AppLocalizations.of(context)!.importError, actionLabel: ""); } } -- cgit v1.2.3