Skip to content

Commit

Permalink
Merge pull request #44 from hbons/master
Browse files Browse the repository at this point in the history
Only show host for top level folder address
  • Loading branch information
NewProggie committed Oct 20, 2011
2 parents 8525752 + 45ffc17 commit 5d6238a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/org/sparkleshare/android/BrowsingActivity.java
Expand Up @@ -153,7 +153,8 @@ protected Boolean doInBackground(String... params) {
String type = json.getString("type");
if (type.equals("git")) {
isProjectsDirectory = true;
item.setSubtitle(serverUrl);
URI uri = new URI(serverUrl);
item.setSubtitle(uri.getHost());
} if (type.equals("file")) {
item.setFilesize(json.getString("fileSize"));
}
Expand Down

0 comments on commit 5d6238a

Please sign in to comment.