Added support for different language routes and coupons

This commit is contained in:
Bart
2021-01-06 17:41:57 +01:00
parent 5844445555
commit 7089524be6
6 changed files with 74 additions and 4 deletions

View File

@@ -23,7 +23,7 @@ public class LocationLoader implements Loader<List<Location>> {
String selectedLanguage = context.getSharedPreferences("Settings", Context.MODE_PRIVATE).getString("Language", "nl");
String fileName = "locations";
// choose the locations.json based of the selectedLanguage
// choose the locations.json based of the selected language
if (!selectedLanguage.equals("en")) {
fileName += "-" + selectedLanguage;
}