Skip to content

Commit

Permalink
Reverted name
Browse files Browse the repository at this point in the history
  • Loading branch information
harshad1 committed Dec 12, 2024
1 parent 2257a83 commit 63f6c15
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ public static GsFileBrowserOptions.Options prepareFsViewerOpts(
opts.favouriteFiles = appSettings.getFavouriteFiles();
opts.recentFiles = appSettings.getRecentFiles();
opts.popularFiles = appSettings.getPopularFiles();
opts.virtualMaps.clear();
opts.virtualMaps.put(new File(cu.rstr(context, R.string.notebook)), appSettings.getNotebookDirectory());
opts.storageMaps.clear();
opts.storageMaps.put(new File(cu.rstr(context, R.string.notebook)), appSettings.getNotebookDirectory());
};
opts.refresh.callback();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ public void updateVirtualFolders() {

_virtualMapping.put(VIRTUAL_STORAGE_EMULATED, VIRTUAL_STORAGE_EMULATED);

if (_dopt.virtualMaps != null) {
_virtualMapping.putAll(_dopt.virtualMaps);
if (_dopt.storageMaps != null) {
_virtualMapping.putAll(_dopt.storageMaps);
}

final File appDataFolder = _context.getFilesDir();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import java.io.File;
import java.io.Serializable;
import java.util.Collection;
import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.Map;

Expand Down Expand Up @@ -125,7 +124,7 @@ public static class Options {
@ColorRes
public int folderColor = 0;

public final Map<File, File> virtualMaps = new LinkedHashMap<>();
public final Map<File, File> storageMaps = new LinkedHashMap<>();
public Collection<File> favouriteFiles, recentFiles, popularFiles = null;
public GsCallback.a1<CharSequence> setTitle = null, setSubtitle = null;

Expand Down

0 comments on commit 63f6c15

Please sign in to comment.