mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-06-05 22:09:15 +02:00
use localized string for the initial directory
This commit is contained in:
@ -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