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> <ListView.GroupHeaderTemplate>
<DataTemplate x:DataType="pages:GroupingsPageListGroup"> <DataTemplate x:DataType="pages:GroupingsPageListGroup">
<ViewCell BindingContextChanged="HeaderBindingContextChanged"> <ViewCell>
<StackLayout Spacing="0" Padding="0" VerticalOptions="FillAndExpand"> <StackLayout Spacing="0" Padding="0" VerticalOptions="FillAndExpand">
<BoxView <BoxView
StyleClass="list-section-separator-top, list-section-separator-top-platform" 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)); 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;
}
}
} }
} }