mirror of
https://github.com/bitwarden/mobile
synced 2025-12-23 03:33:59 +00:00
Fixed some Large Font Accessibility issues on Vault and Send screens for Icons Display #1774 (#1785)
This commit is contained in:
committed by
GitHub
parent
dbaa32b02c
commit
ea471b0749
@@ -938,5 +938,11 @@ namespace Bit.Droid.Services
|
||||
Context.ClipboardService) as Android.Content.ClipboardManager;
|
||||
clipboardManager.PrimaryClip = ClipData.NewPlainText("bitwarden", text);
|
||||
}
|
||||
|
||||
public float GetSystemFontSizeScale()
|
||||
{
|
||||
var activity = CrossCurrentActivity.Current?.Activity as MainActivity;
|
||||
return activity?.Resources?.Configuration?.FontScale ?? 1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user