mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-11-29 04:22:22 -05:00
added comment with small todo
This commit is contained in:
parent
ac88da90e7
commit
bf0897e7ec
@ -161,10 +161,12 @@ namespace keepass2android
|
|||||||
|
|
||||||
private static string GetDatabaseName()
|
private static string GetDatabaseName()
|
||||||
{
|
{
|
||||||
|
|
||||||
var db = App.Kp2a.GetDb().KpDatabase;
|
var db = App.Kp2a.GetDb().KpDatabase;
|
||||||
var name = db.Name;
|
var name = db.Name;
|
||||||
if (String.IsNullOrEmpty(name))
|
if (String.IsNullOrEmpty(name))
|
||||||
{
|
{
|
||||||
|
//todo: if paranoid ("don't remember recent files") return "***"
|
||||||
name = UrlUtil.StripExtension(UrlUtil.GetFileName(db.IOConnectionInfo.Path));
|
name = UrlUtil.StripExtension(UrlUtil.GetFileName(db.IOConnectionInfo.Path));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user