Closed armouldr closed 1 week ago
@armouldr, I invite you to change intialCentered
from var initialCentered by remember { mutableStateOf(false) }
to var initialCentered = false
before merging. This fixes the undesired behavior I described above.
Thank you 🙏
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
74.5% Coverage on New Code
0.0% Duplication on New Code
Link the map button in EventDetails to the map screen, such that the map is centered to the event in question.
For that I need to : -> add a centerLocation stateflow in MapViewModel -> add a setCenterLocation method in MapViewModel -> modify the map screen accordingly
How it works: in Home: simply navigate to Map without specifying any location, this will focus on userLocation in EventDetails : use setCenterLocation method to