From 531eb9c8f5afeaa6cf7e3b989c77e0e4bd4b86b2 Mon Sep 17 00:00:00 2001 From: yaso Date: Thu, 16 Jan 2025 12:14:11 +0200 Subject: [PATCH] enable swipe to last tool --- Frontend/lib/mih_packages/patient_profile/patient_view.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Frontend/lib/mih_packages/patient_profile/patient_view.dart b/Frontend/lib/mih_packages/patient_profile/patient_view.dart index 0fbc9277..8b4f7ffe 100644 --- a/Frontend/lib/mih_packages/patient_profile/patient_view.dart +++ b/Frontend/lib/mih_packages/patient_profile/patient_view.dart @@ -287,7 +287,7 @@ class _PatientViewState extends State { checkScreenSize(); return SwipeDetector( onSwipeLeft: (offset) { - if (_selectedIndex < 2) { + if (_selectedIndex < 3) { setState(() { _selectedIndex += 1; });