mirror of
https://github.com/bitwarden/mobile
synced 2026-01-07 02:53:56 +00:00
clear focus on cell
This commit is contained in:
@@ -97,13 +97,18 @@ namespace Bit.Android.Controls
|
||||
|
||||
bool isHeader, nextIsHeader;
|
||||
var cell = GetCellForPosition(position, out isHeader, out nextIsHeader);
|
||||
var cellView = CellFactory.GetCell(cell, convertView, parent, Context, _view);
|
||||
if(layout.ChildCount > 0)
|
||||
{
|
||||
layout.RemoveViewAt(0);
|
||||
var cellView = CellFactory.GetCell(cell, convertView, parent, Context, _view);
|
||||
layout.AddView(cellView, 0);
|
||||
}
|
||||
|
||||
if(cellView.HasFocus)
|
||||
{
|
||||
cellView.ClearFocus();
|
||||
}
|
||||
|
||||
if(isHeader)
|
||||
{
|
||||
var textCell = layout.GetChildAt(0) as BaseCellView;
|
||||
|
||||
Reference in New Issue
Block a user