From 916085ce16f4370bbcbd3b337a09710167a17d2a Mon Sep 17 00:00:00 2001 From: eymeric Date: Wed, 18 Oct 2023 15:06:09 +0200 Subject: [PATCH] oupsi forgot offset --- .../lib/screens/agenda/widgets/current_date_indicator.dart | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/onyx/lib/screens/agenda/widgets/current_date_indicator.dart b/apps/onyx/lib/screens/agenda/widgets/current_date_indicator.dart index 83eda506..6db01c57 100644 --- a/apps/onyx/lib/screens/agenda/widgets/current_date_indicator.dart +++ b/apps/onyx/lib/screens/agenda/widgets/current_date_indicator.dart @@ -15,8 +15,7 @@ class CurrentDateIndicator extends StatelessWidget { return Positioned( top: (((DateTime.now().difference(DateTime.now().shrink(3)).inMinutes / 60) - - (Res.agendaDayStart.inMinutes / 60) - - 5) * + (Res.agendaDayStart.inMinutes / 60)) * (Res.agendaDayDuration.inHours / DaysViewRes.heightFactor).h) .clamp(0, double.infinity), child: