mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-11-29 12:32:21 -05:00
more paranoid setting: QuickUnlock doesn't show the filename either when filenames are not remembered
This commit is contained in:
parent
4294791d76
commit
8c682d8a24
@ -54,9 +54,20 @@ namespace keepass2android
|
|||||||
FindViewById(Resource.Id.filename_label).Visibility = ViewStates.Invisible;
|
FindViewById(Resource.Id.filename_label).Visibility = ViewStates.Invisible;
|
||||||
((TextView)FindViewById(Resource.Id.qu_filename)).Text = App.Kp2a.GetDb().KpDatabase.Name;
|
((TextView)FindViewById(Resource.Id.qu_filename)).Text = App.Kp2a.GetDb().KpDatabase.Name;
|
||||||
} else
|
} else
|
||||||
|
{
|
||||||
|
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;
|
((TextView)FindViewById(Resource.Id.qu_filename)).Text = _ioc.Path;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
((TextView)FindViewById(Resource.Id.qu_filename)).Text = "*****";
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
TextView txtLabel = (TextView)FindViewById(Resource.Id.QuickUnlock_label);
|
TextView txtLabel = (TextView)FindViewById(Resource.Id.QuickUnlock_label);
|
||||||
|
Loading…
Reference in New Issue
Block a user