diff options
author | Leonard Kugis <leonard@kug.is> | 2024-01-03 23:15:31 +0100 |
---|---|---|
committer | Leonard Kugis <leonard@kug.is> | 2024-01-03 23:15:31 +0100 |
commit | 5e35f14b7bc6b0425ec26b4286451d9f33317d49 (patch) | |
tree | 48566496a4275355c55871d306c700e011e60189 /app/src/main/java | |
parent | 992fa2d9a9bc519215c0b352688691ba012ca04a (diff) |
Fixed route loading and UI fixes
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/foundation/e/advancedprivacy/features/location/FakeLocationFragment.kt | 6 |
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) } } |