diff --git a/app/src/main/java/cy/agorise/crystalwallet/manager/FileBackupManager.java b/app/src/main/java/cy/agorise/crystalwallet/manager/FileBackupManager.java index bd4ffe2..ccd1ec3 100644 --- a/app/src/main/java/cy/agorise/crystalwallet/manager/FileBackupManager.java +++ b/app/src/main/java/cy/agorise/crystalwallet/manager/FileBackupManager.java @@ -102,6 +102,7 @@ public class FileBackupManager implements FileServiceRequestsListener { boolean success = saveBinFile(path,content,request); if(success) { + request.setFilePath(path); request.setStatus(CreateBackupRequest.StatusCode.SUCCEEDED); }else{ request.setStatus(CreateBackupRequest.StatusCode.FAILED); diff --git a/app/src/main/java/cy/agorise/crystalwallet/requestmanagers/CreateBackupRequest.java b/app/src/main/java/cy/agorise/crystalwallet/requestmanagers/CreateBackupRequest.java index e105e97..94b38af 100644 --- a/app/src/main/java/cy/agorise/crystalwallet/requestmanagers/CreateBackupRequest.java +++ b/app/src/main/java/cy/agorise/crystalwallet/requestmanagers/CreateBackupRequest.java @@ -20,8 +20,8 @@ public class CreateBackupRequest extends FileServiceRequest { private String filePath; private StatusCode status; - public CreateBackupRequest(Context context) { - super(context); + public CreateBackupRequest(Context context, String password) { + super(context,password); this.filePath = ""; this.status = StatusCode.NOT_STARTED; }