Fix custom song list in opera

This commit is contained in:
KatieFrogs 2022-03-07 02:02:13 +03:00
parent 8c8f34f7a3
commit ab3c421ab4

View File

@ -152,7 +152,7 @@ class CustomSongs{
return
}
this.changeSelected(this.linkLocalFolder)
if(typeof showDirectoryPicker === "function"){
if(typeof showDirectoryPicker === "function" && !(/\bOPR\/|\bOPRGX\//.test(navigator.userAgent))){
return showDirectoryPicker().then(file => {
this.walkFilesystem(file).then(files => this.importLocal(files)).then(input => {
if(input){