mirror of
https://github.com/bitwarden/android.git
synced 2025-01-08 01:07:40 +03:00
17 lines
557 B
C#
17 lines
557 B
C#
using Bit.App.Resources;
|
|
using System.Collections.Generic;
|
|
using Xamarin.Forms;
|
|
|
|
namespace Bit.App.Pages
|
|
{
|
|
public class SettingsPageListItem
|
|
{
|
|
public string Icon { get; set; }
|
|
public string Name { get; set; }
|
|
public string SubLabel { get; set; }
|
|
public bool SubLabelTextEnabled => SubLabel == AppResources.Enabled;
|
|
public Color SubLabelColor => SubLabelTextEnabled ?
|
|
(Color)Application.Current.Resources["SuccessColor"] :
|
|
(Color)Application.Current.Resources["MutedColor"];
|
|
}
|
|
}
|