Commit 2906e1e9 authored by Geoffrey Métais's avatar Geoffrey Métais

Add 'storages' header in file browser root

parent 7a3012db
......@@ -568,4 +568,5 @@
<string name="recommendations">Recommendations</string>
<string name="recommendations_desc">Recommendations cards on launcher</string>
<string name="browser_quick_access">Quick Access</string>
<string name="browser_storages">Storages</string>
......@@ -91,6 +91,7 @@ public class FileBrowserFragment extends BaseBrowserFragment {
final String storages[] = AndroidDevices.getMediaDirectories();
MediaWrapper directory;
final ArrayList<MediaLibraryItem> devices = new ArrayList<>(storages.length);
devices.add(new DummyItem(getString(R.string.browser_storages)));
for (String mediaDirLocation : storages) {
if (!(new File(mediaDirLocation).exists()))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment