From b15438de4e9a854959ff5e8e0d920aea799040c8 Mon Sep 17 00:00:00 2001 From: WesselvanDam Date: Thu, 19 Sep 2024 22:09:00 +0200 Subject: [PATCH] fix incorrect date when editing token --- lib/screens/Details/local/details_info.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/screens/Details/local/details_info.dart b/lib/screens/Details/local/details_info.dart index e991915..27b75c8 100644 --- a/lib/screens/Details/local/details_info.dart +++ b/lib/screens/Details/local/details_info.dart @@ -102,7 +102,7 @@ class DetailsInfo extends ConsumerWidget { ?.date; return date == null ? 'Select a date' - : DateFormat.yMMMd().format(value!.fromInfo.date!); + : DateFormat.yMMMd().format(date); })), style: TextStyle( color: Theme.of(context).primaryColor,