mirror of
https://github.com/bitwarden/mobile
synced 2025-12-25 12:43:39 +00:00
Android styling. Invoke lock and isbusy updates on main UI thread. ConfigureAwaits in sync service.
This commit is contained in:
@@ -21,11 +21,14 @@ namespace Bit.Android.Controls
|
||||
base.OnElementChanged(e);
|
||||
|
||||
var view = (ExtendedEntry)Element;
|
||||
|
||||
if(Control != null && e.NewElement != null && e.NewElement.IsPassword)
|
||||
if(Control != null)
|
||||
{
|
||||
Control.SetTypeface(Typeface.Default, TypefaceStyle.Normal);
|
||||
Control.TransformationMethod = new PasswordTransformationMethod();
|
||||
Control.SetIncludeFontPadding(false);
|
||||
if(e.NewElement != null && e.NewElement.IsPassword)
|
||||
{
|
||||
Control.SetTypeface(Typeface.Default, TypefaceStyle.Normal);
|
||||
Control.TransformationMethod = new PasswordTransformationMethod();
|
||||
}
|
||||
}
|
||||
|
||||
SetBorder(view);
|
||||
|
||||
@@ -7,5 +7,5 @@
|
||||
<color name="lightgray">#efeff4</color>
|
||||
<color name="primary">#3c8dbc</color>
|
||||
<color name="darkaccent">#222d32</color>
|
||||
<color name="accent">#286090</color>
|
||||
<color name="accent">#3883af</color>
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user