mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-30 12:54:24 +01:00
remove binding context from header viewcell
This commit is contained in:
parent
a2960c45bc
commit
a2de3b5d80
@ -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"
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user