added CreateFilePath method to IFileStorage and used it after file chooser for save

-> save as works with GDrive as well

minor changes and fixes
This commit is contained in:
Philipp Crocoll
2013-10-27 21:55:19 +01:00
parent 0bf3a3ee7f
commit e6b1d37c21
7 changed files with 299 additions and 229 deletions

View File

@@ -200,5 +200,12 @@ namespace keepass2android.Io
{
return ioc.GetDisplayName();
}
public string CreateFilePath(string parent, string newFilename)
{
if (!parent.EndsWith("/"))
parent += "/";
return parent + newFilename;
}
}
}