mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
remove binding context from header viewcell
This commit is contained in:
parent
a2960c45bc
commit
a2de3b5d80
2 changed files with 1 additions and 9 deletions
|
@ -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 a new issue