summaryrefslogtreecommitdiff
path: root/app/src/main/java/foundation
diff options
context:
space:
mode:
authorLeonard Kugis <leonard@kug.is>2024-01-03 23:15:31 +0100
committerLeonard Kugis <leonard@kug.is>2024-01-03 23:15:31 +0100
commit5e35f14b7bc6b0425ec26b4286451d9f33317d49 (patch)
tree48566496a4275355c55871d306c700e011e60189 /app/src/main/java/foundation
parent992fa2d9a9bc519215c0b352688691ba012ca04a (diff)
Fixed route loading and UI fixes
Diffstat (limited to 'app/src/main/java/foundation')
-rw-r--r--app/src/main/java/foundation/e/advancedprivacy/features/location/FakeLocationFragment.kt6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/src/main/java/foundation/e/advancedprivacy/features/location/FakeLocationFragment.kt b/app/src/main/java/foundation/e/advancedprivacy/features/location/FakeLocationFragment.kt
index a155216..3aaeb61 100644
--- a/app/src/main/java/foundation/e/advancedprivacy/features/location/FakeLocationFragment.kt
+++ b/app/src/main/java/foundation/e/advancedprivacy/features/location/FakeLocationFragment.kt
@@ -479,10 +479,10 @@ class FakeLocationFragment : NavToolbarFragment(R.layout.fragment_fake_location)
binding.edittextLongitude.setText(state.specificLongitude?.toString())
}
- if(route == null) {
- binding.locationRoutePath.text = "No valid route selected"
+ if(state.route == null) {
+ binding.locationRoutePath.text = getString(R.string.location_route_no_route)
} else {
- binding.locationRoutePath.text = "Route valid"
+ binding.locationRoutePath.text = getString(R.string.location_route_valid)
}
}