remove binding context from header viewcell
This commit is contained in:
parent
a2960c45bc
commit
a2de3b5d80
|
@ -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"
|
||||||
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue