aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java/org/traccar/manager/MainFragment.java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java/org/traccar/manager/MainFragment.java')
-rw-r--r--app/src/main/java/org/traccar/manager/MainFragment.java3
1 files changed, 0 insertions, 3 deletions
diff --git a/app/src/main/java/org/traccar/manager/MainFragment.java b/app/src/main/java/org/traccar/manager/MainFragment.java
index 0fd79d1..d63c19e 100644
--- a/app/src/main/java/org/traccar/manager/MainFragment.java
+++ b/app/src/main/java/org/traccar/manager/MainFragment.java
@@ -60,9 +60,6 @@ public class MainFragment extends WebViewFragment {
String url = PreferenceManager.getDefaultSharedPreferences(
getActivity()).getString(MainActivity.PREFERENCE_URL, null);
- if (url.endsWith("/")) {
- url = url.substring(0, url.length() - 1);
- }
getWebView().loadUrl(url);
}