1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-11 05:43:30 +00:00

totp text color changes with DynamicResource

This commit is contained in:
Kyle Spearrin
2019-04-26 12:03:29 -04:00
parent dc0f9847c6
commit a01f9c7351
3 changed files with 22 additions and 1 deletions

View File

@@ -72,7 +72,11 @@ namespace Bit.App.Pages
public bool TotpLow
{
get => _totpLow;
set => SetProperty(ref _totpLow, value);
set
{
SetProperty(ref _totpLow, value);
Page.Resources["textTotp"] = Application.Current.Resources[value ? "text-danger" : "text-default"];
}
}
public async Task LoadAsync()