mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 02:18:27 +03:00
remove old grouping binding
This commit is contained in:
parent
1a06683611
commit
2823a86b4e
1 changed files with 0 additions and 10 deletions
|
@ -1,15 +1,11 @@
|
||||||
using Bit.App.Models.Page;
|
using Bit.App.Models.Page;
|
||||||
using FFImageLoading.Forms;
|
using FFImageLoading.Forms;
|
||||||
using System;
|
|
||||||
using Xamarin.Forms;
|
using Xamarin.Forms;
|
||||||
|
|
||||||
namespace Bit.App.Controls
|
namespace Bit.App.Controls
|
||||||
{
|
{
|
||||||
public class VaultGroupingViewCell : ExtendedViewCell
|
public class VaultGroupingViewCell : ExtendedViewCell
|
||||||
{
|
{
|
||||||
public static readonly BindableProperty GroupingParameterProeprty = BindableProperty.Create(nameof(GroupingParameter),
|
|
||||||
typeof(VaultListPageModel.Grouping), typeof(VaultGroupingViewCell), null);
|
|
||||||
|
|
||||||
public VaultGroupingViewCell()
|
public VaultGroupingViewCell()
|
||||||
{
|
{
|
||||||
Icon = new CachedImage
|
Icon = new CachedImage
|
||||||
|
@ -56,14 +52,8 @@ namespace Bit.App.Controls
|
||||||
|
|
||||||
View = stackLayout;
|
View = stackLayout;
|
||||||
BackgroundColor = Color.White;
|
BackgroundColor = Color.White;
|
||||||
SetBinding(GroupingParameterProeprty, new Binding("."));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public VaultListPageModel.Grouping GroupingParameter
|
|
||||||
{
|
|
||||||
get => GetValue(GroupingParameterProeprty) as VaultListPageModel.Grouping;
|
|
||||||
set { SetValue(GroupingParameterProeprty, value); }
|
|
||||||
}
|
|
||||||
public CachedImage Icon { get; private set; }
|
public CachedImage Icon { get; private set; }
|
||||||
public Label Label { get; private set; }
|
public Label Label { get; private set; }
|
||||||
public Label CountLabel { get; private set; }
|
public Label CountLabel { get; private set; }
|
||||||
|
|
Loading…
Reference in a new issue