mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 10:28:28 +03:00
set color of listview table index
This commit is contained in:
parent
219c81aac5
commit
0f387a139b
1 changed files with 4 additions and 2 deletions
|
@ -13,8 +13,10 @@ namespace Bit.iOS.Controls
|
||||||
{
|
{
|
||||||
base.OnElementChanged(e);
|
base.OnElementChanged(e);
|
||||||
|
|
||||||
var view = e.NewElement as ListView;
|
// primary color
|
||||||
if(view != null)
|
Control.SectionIndexColor = new UIColor(red: 0.24f, green: 0.55f, blue: 0.74f, alpha: 1.0f);
|
||||||
|
|
||||||
|
if(e.NewElement is ListView view)
|
||||||
{
|
{
|
||||||
SetMargin(view);
|
SetMargin(view);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue