more paranoid setting: QuickUnlock doesn't show the filename either when filenames are not remembered

This commit is contained in:
Philipp Crocoll 2013-07-27 09:36:32 +02:00
parent 4294791d76
commit 8c682d8a24

View File

@ -55,7 +55,18 @@ namespace keepass2android
((TextView)FindViewById(Resource.Id.qu_filename)).Text = App.Kp2a.GetDb().KpDatabase.Name;
} else
{
((TextView)FindViewById(Resource.Id.qu_filename)).Text = _ioc.Path;
if (
PreferenceManager.GetDefaultSharedPreferences(this)
.GetBoolean(GetString(Resource.String.RememberRecentFiles_key),
Resources.GetBoolean(Resource.Boolean.RememberRecentFiles_default)))
{
((TextView)FindViewById(Resource.Id.qu_filename)).Text = _ioc.Path;
}
else
{
((TextView)FindViewById(Resource.Id.qu_filename)).Text = "*****";
}
}