Semi Final 7th Aug 2024
This commit is contained in:
@ -250,7 +250,10 @@ class BottomSheetNew extends GetView<BottomSheetController> {
|
||||
//goal
|
||||
|
||||
return ElevatedButton(
|
||||
style: ElevatedButton.styleFrom(backgroundColor: Colors.red),
|
||||
style: ElevatedButton.styleFrom(
|
||||
foregroundColor: Colors.white,
|
||||
backgroundColor: Colors.red
|
||||
),
|
||||
onPressed: destinationController.rogainingCounted.value == true &&
|
||||
destinationController.distanceToStart() <= 500 &&
|
||||
(destination.cp == 0 || destination.cp == -2|| destination.cp == -1) &&
|
||||
|
||||
Reference in New Issue
Block a user