base de dados Funcional
This commit is contained in:
@@ -516,11 +516,7 @@ class _GoogleMapScreenState extends State<GoogleMapScreen> {
|
||||
// Save run data to database
|
||||
Future<void> _saveRunData(double distance, double pace, int duration) async {
|
||||
try {
|
||||
await SupabaseService.saveRun(
|
||||
distance: distance,
|
||||
pace: pace,
|
||||
duration: duration,
|
||||
);
|
||||
await SupabaseService.saveRun(distance: distance, pace: pace);
|
||||
|
||||
// Show success message (optional)
|
||||
if (mounted) {
|
||||
|
||||
Reference in New Issue
Block a user