fix to potential crash when reloading the database. related to 4910c73a5e
This commit is contained in:
@@ -103,6 +103,10 @@ namespace keepass2android.view
|
|||||||
|
|
||||||
private void PopulateView(View ev, PwEntry pw, int pos)
|
private void PopulateView(View ev, PwEntry pw, int pos)
|
||||||
{
|
{
|
||||||
|
|
||||||
|
if (_groupBaseActivity.IsFinishing)
|
||||||
|
return;
|
||||||
|
|
||||||
_entry = pw;
|
_entry = pw;
|
||||||
_pos = pos;
|
_pos = pos;
|
||||||
ev.FindViewById(Resource.Id.icon).Visibility = ViewStates.Visible;
|
ev.FindViewById(Resource.Id.icon).Visibility = ViewStates.Visible;
|
||||||
|
|||||||
Reference in New Issue
Block a user