Swent-team-6 / icebreakrr

2 stars 1 forks source link

Feature/toggle location2 #143

Open Kapestian opened 1 week ago

Kapestian commented 1 week ago

Toggle location update 2

note: code was started last week and was then discontinued. This is the same feature but started from a fresh main

What's new

This PR links the toggle button from the settings screen to the locationViewmodel which allows to toggle location update. For now, disabling the location means that other user can still see your profile if they stand at your last known position (where you toggled the switch off). In later updates, the ProfileViewmodel will be extended to allow the toggle button to make the user truly invisible to others.

Codebase changes:

Special thanks to @arthur-mrgt for his very clean interface for location and permissions

sonarcloud[bot] commented 2 hours ago

Quality Gate Passed Quality Gate passed

Issues
3 New issues
0 Accepted issues

Measures
0 Security Hotspots
71.4% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarQube Cloud