mirror of
https://github.com/bitwarden/mobile
synced 2025-12-12 22:33:25 +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
@@ -587,6 +587,13 @@ namespace Bit.iOS.Core.Services
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public float GetSystemFontSizeScale()
|
||||
{
|
||||
var tempHeight = 20f;
|
||||
var scaledHeight = (float)new UIFontMetrics(UIFontTextStyle.Body.GetConstant()).GetScaledValue(tempHeight);
|
||||
return scaledHeight / tempHeight;
|
||||
}
|
||||
|
||||
public class PickerDelegate : UIDocumentPickerDelegate
|
||||
{
|
||||
private readonly DeviceActionService _deviceActionService;
|
||||
|
||||
Reference in New Issue
Block a user