This commit is contained in:
Shane Harris
2020-08-17 13:31:48 +01:00
committed by Your Name
parent 38a66bf43c
commit ac30232f80
2 changed files with 1 additions and 1 deletions
Binary file not shown.
+1 -1
View File
@@ -323,7 +323,7 @@ export class FilesComponent implements OnInit {
openSaveLocation() { openSaveLocation() {
this.appService.electron.remote.shell.openItem(this.adbService.savePath); this.appService.electron.remote.shell.openItem(this.adbService.savePath);
} }
async readdir(path: String) { async readdir(path: string) {
let dirContents: FileFolderListing[]; let dirContents: FileFolderListing[];
let isRoot = ['/sdcard/', 'sdcard', 'sdcard/', '/sdcard'].indexOf(path) > -1; let isRoot = ['/sdcard/', 'sdcard', 'sdcard/', '/sdcard'].indexOf(path) > -1;
if (isRoot) { if (isRoot) {