Skip to content

Commit

Permalink
Merge pull request #442 from kakysha/master
Browse files Browse the repository at this point in the history
fix empty url on Android 4.4 backup - FileChooser
  • Loading branch information
tonyofbyteball authored Apr 19, 2019
2 parents 52538f4 + eebccdd commit b2f4d8e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/js/controllers/import.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit b2f4d8e

Please sign in to comment.