Gabriele266 / MyOlder

An application to safe store files
3 stars 0 forks source link

Unlock and open file doesn't unlock it #24

Closed Gabriele266 closed 3 years ago

Gabriele266 commented 3 years ago

Unlock and open file doesn't unlock it

When i try to unlock and open a file, the file isn't unlocked and opened. The code throws this exception:

_[ERROR:flutter/lib/ui/ui_dart_state.cc(186)] Unhandled Exception: Invalid argument(s): Source file path and decrypted file path are the same. E/flutter (17771): #0 AesCrypt.decryptFile package:aescrypt/src/aescrypt.dart:320 E/flutter (17771): #1 SafeFile.unlockAndOpen package:myolder/constructs/safe-file.dart:212 E/flutter (17771): E/flutter (17771):

The problem is that the 2 paths concide.

Gabriele266 commented 3 years ago

The issue has been corrected, now it all works well.