From eebccddc20690c638da3b0e6390014b78c286763 Mon Sep 17 00:00:00 2001 From: kakysha Date: Fri, 19 Apr 2019 20:56:48 +0300 Subject: [PATCH] fix empty url on Android 4.4 backup - FileChooser --- src/js/controllers/import.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/js/controllers/import.js b/src/js/controllers/import.js index 82bd2335e..c93c7e5fa 100644 --- a/src/js/controllers/import.js +++ b/src/js/controllers/import.js @@ -231,6 +231,8 @@ angular.module('copayApp.controllers').controller('importController', self.walletImport = function() { self.error = ''; if(isMobile.Android() && self.androidVersion < 5){ + if (!self.oldAndroidFilePath) + return; self.importing = true; fileSystemService.readFile(self.oldAndroidFilePath, function(err, data) { unzipAndWriteFiles(data, self.password);