mirror of
https://github.com/FossifyOrg/File-Manager.git
synced 2026-10-28 09:38:32 -04:00
use localized string for the initial directory
This commit is contained in:
1 parent
75f459d355
commit
24bc0d710f
1 file changed
+1
-1
@@ -101,7 +101,7 @@ public class Breadcrumbs extends LinearLayout implements View.OnClickListener {
|
||||
|
||||
public void setInitialBreadcrumb(String fullPath) {
|
||||
final String basePath = Environment.getExternalStorageDirectory().toString();
|
||||
final String tempPath = fullPath.replace(basePath, "home/");
|
||||
final String tempPath = fullPath.replace(basePath, getContext().getString(R.string.initial_breadcrumb) + "/");
|
||||
removeAllViewsInLayout();
|
||||
final String[] dirs = tempPath.split("/");
|
||||
String currPath = basePath;
|
||||
|
||||
Reference in new issue
Block a user