Browse Source

FTP url fixed when not set to a custom url.

pull/406/head
Eric Kok 7 years ago
parent
commit
e1a0d919d3
  1. 2
      app/src/main/java/org/transdroid/core/gui/DetailsFragment.java

2
app/src/main/java/org/transdroid/core/gui/DetailsFragment.java

@ -548,7 +548,7 @@ public class DetailsFragment extends Fragment implements OnTrackersUpdatedListen @@ -548,7 +548,7 @@ public class DetailsFragment extends Fragment implements OnTrackersUpdatedListen
}
String urlBase = currentServerSettings.getFtpUrl();
if (urlBase == null || urlBase.equals("")) {
urlBase = "ftp://" + currentServerSettings.getAddress();
urlBase = "ftp://" + currentServerSettings.getAddress() + "/";
}
// Try using AndFTP intents

Loading…
Cancel
Save