1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-11-26 12:16:07 +01:00

remove binding context from header viewcell

This commit is contained in:
Kyle Spearrin 2019-06-20 16:34:17 -04:00
parent a2960c45bc
commit a2de3b5d80
2 changed files with 1 additions and 9 deletions

View File

@ -110,7 +110,7 @@
<ListView.GroupHeaderTemplate>
<DataTemplate x:DataType="pages:GroupingsPageListGroup">
<ViewCell BindingContextChanged="HeaderBindingContextChanged">
<ViewCell>
<StackLayout Spacing="0" Padding="0" VerticalOptions="FillAndExpand">
<BoxView
StyleClass="list-section-separator-top, list-section-separator-top-platform"

View File

@ -245,13 +245,5 @@ namespace Bit.App.Pages
await Navigation.PushModalAsync(new NavigationPage(page));
}
}
private void HeaderBindingContextChanged(object sender, EventArgs e)
{
if(Device.RuntimePlatform == Device.iOS && sender is ViewCell cell)
{
// cell.Height = 50;
}
}
}
}