enable swipe to last tool

This commit is contained in:
2025-01-16 12:14:11 +02:00
parent 5bf87544d6
commit 531eb9c8f5

View File

@@ -287,7 +287,7 @@ class _PatientViewState extends State<PatientView> {
checkScreenSize(); checkScreenSize();
return SwipeDetector( return SwipeDetector(
onSwipeLeft: (offset) { onSwipeLeft: (offset) {
if (_selectedIndex < 2) { if (_selectedIndex < 3) {
setState(() { setState(() {
_selectedIndex += 1; _selectedIndex += 1;
}); });