Commit c10f2e4c authored by Andres Käver's avatar Andres Käver
Browse files

fixes

parent 849e9119
SportMap
\ No newline at end of file
......@@ -32,8 +32,10 @@ class C {
const val REQUEST_PERMISSIONS_REQUEST_CODE = 34
const val REST_BASE_URL = "https://sportmap.akaver.com/api/v1.0/"
const val REST_USERNAME = "akaver@akaver.com"
const val REST_PASSWORD = "Kala.maja2020"
//const val REST_USERNAME = "akaver@akaver.com"
//const val REST_PASSWORD = "Kala.maja2020"
const val REST_USERNAME = "USE YOUR OWN"
const val REST_PASSWORD = "USE YOUR OWN"
const val REST_LOCATIONID_LOC = "00000000-0000-0000-0000-000000000001"
const val REST_LOCATIONID_WP = "00000000-0000-0000-0000-000000000002"
......
......@@ -429,7 +429,7 @@ class LocationService : Service() {
distanceCPDirect = 0f
distanceCPTotal = 0f
distanceCPTime = 0
saveRestLocation(locationCP!!, C.REST_LOCATIONID_WP)
saveRestLocation(locationCP!!, C.REST_LOCATIONID_CP)
showNotification()
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment