mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-01-30 18:24:52 +01:00
use localized string for the initial directory
This commit is contained in:
parent
75f459d355
commit
24bc0d710f
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user