added comment with small todo

This commit is contained in:
Philipp Crocoll 2013-08-03 12:34:12 +02:00
parent ac88da90e7
commit bf0897e7ec

View File

@ -161,10 +161,12 @@ namespace keepass2android
private static string GetDatabaseName()
{
var db = App.Kp2a.GetDb().KpDatabase;
var name = db.Name;
if (String.IsNullOrEmpty(name))
{
//todo: if paranoid ("don't remember recent files") return "***"
name = UrlUtil.StripExtension(UrlUtil.GetFileName(db.IOConnectionInfo.Path));
}