summaryrefslogtreecommitdiff
path: root/app/src/main/java/foundation/e
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/foundation/e')
-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)
}
}