mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-11-22 17:22:17 -05:00
Remove spaces from filename before saving to cache
This commit is contained in:
parent
0c4f7d6aed
commit
7e8e261dbb
@ -254,7 +254,10 @@ namespace keepass2android
|
||||
if (writeToCacheDirectory)
|
||||
binaryDirectory = CacheDir.Path;
|
||||
|
||||
var targetFile = new Java.IO.File(binaryDirectory, key);
|
||||
string filepart = key;
|
||||
if (writeToCacheDirectory)
|
||||
filepart = filepart.Replace(" ", "");
|
||||
var targetFile = new Java.IO.File(binaryDirectory, filepart);
|
||||
|
||||
Java.IO.File parent = targetFile.ParentFile;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user