always use native directory separators in paths

This commit is contained in:
xiphon
2020-04-24 00:43:40 +00:00
parent 585fb2810d
commit a99eef68f5
10 changed files with 35 additions and 42 deletions

View File

@@ -58,11 +58,6 @@ function switchPage(next) {
}
function createWalletPath(isIOS, folder_path,account_name){
// Remove trailing slash - (default on windows and mac)
if (folder_path.substring(folder_path.length -1) === "/"){
folder_path = folder_path.substring(0,folder_path.length -1)
}
// Store releative path on ios.
if(isIOS)
folder_path = "";