From 4f1436fc5b28ac5b60afb687afa141e6c1e90bcd Mon Sep 17 00:00:00 2001 From: Dorian HODIN Date: Sun, 15 Jan 2023 15:22:21 +0100 Subject: [PATCH] Make button play with spotify visible on spot + spot working + temporary IP adress --- .idea/libraries/Dart_Packages.xml | 396 +++++++++--------- .idea/libraries/Dart_SDK.xml | 38 +- .../lib/services/position/location.dart | 2 +- .../lib/views/pages/main/w_spot.dart | 4 +- 4 files changed, 220 insertions(+), 220 deletions(-) diff --git a/.idea/libraries/Dart_Packages.xml b/.idea/libraries/Dart_Packages.xml index 555e605..158d1b1 100644 --- a/.idea/libraries/Dart_Packages.xml +++ b/.idea/libraries/Dart_Packages.xml @@ -5,798 +5,798 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.idea/libraries/Dart_SDK.xml b/.idea/libraries/Dart_SDK.xml index 6ae284f..cb79f3d 100644 --- a/.idea/libraries/Dart_SDK.xml +++ b/.idea/libraries/Dart_SDK.xml @@ -1,25 +1,25 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + diff --git a/Sources/dafl_project_flutter/lib/services/position/location.dart b/Sources/dafl_project_flutter/lib/services/position/location.dart index a87acc3..bd1b4e0 100644 --- a/Sources/dafl_project_flutter/lib/services/position/location.dart +++ b/Sources/dafl_project_flutter/lib/services/position/location.dart @@ -8,7 +8,7 @@ import '../../main.dart'; class Location { static Future> sendCurrentLocation() async { Uri uri = Uri.parse( - "https://codefirst.iut.uca.fr/containers/php_script-dorianhodin/insertAndMakeListUser.php"); + "http://82.216.56.128/phpmyadmin/dafl/insertAndMakeListUser.php"); LocationPermission permission = await Geolocator.checkPermission(); if (permission == LocationPermission.denied) { diff --git a/Sources/dafl_project_flutter/lib/views/pages/main/w_spot.dart b/Sources/dafl_project_flutter/lib/views/pages/main/w_spot.dart index f582fad..54a47b3 100644 --- a/Sources/dafl_project_flutter/lib/views/pages/main/w_spot.dart +++ b/Sources/dafl_project_flutter/lib/views/pages/main/w_spot.dart @@ -233,8 +233,8 @@ class _SpotsWidgetState extends State { child: SizedBox( height: 40, child: MyApp.controller.getSpots().isEmpty - ? Image.asset("assets/images/play_spotify_button.png") - : Container(), + ? Container() + : Image.asset("assets/images/play_spotify_button.png"), ), )) ],