From a2ec263116a2aa258fa0071dd78c8f42f77adf58 Mon Sep 17 00:00:00 2001
From: Matt Portune <59324545+mportune-bw@users.noreply.github.com>
Date: Thu, 10 Mar 2022 13:55:48 -0500
Subject: [PATCH] fixes for font cutoff on samsung devices (#1838)
---
.../AccountViewCell/AccountViewCell.xaml | 14 +++++++-------
src/App/Styles/Android.xaml | 16 ++++++++++++++--
src/App/Styles/Base.xaml | 8 ++++++++
src/App/Styles/iOS.xaml | 14 ++++++++++++--
4 files changed, 41 insertions(+), 11 deletions(-)
diff --git a/src/App/Controls/AccountViewCell/AccountViewCell.xaml b/src/App/Controls/AccountViewCell/AccountViewCell.xaml
index c3eb578b7..3d45cf929 100644
--- a/src/App/Controls/AccountViewCell/AccountViewCell.xaml
+++ b/src/App/Controls/AccountViewCell/AccountViewCell.xaml
@@ -59,26 +59,26 @@
Grid.Row="0"
Text="{Binding AccountView.Email}"
IsVisible="{Binding IsActive}"
- StyleClass="list-title"
+ StyleClass="accountlist-title, accountlist-title-platform"
LineBreakMode="TailTruncation" />
@@ -86,7 +86,7 @@
Grid.Row="2"
Text="{u:I18n AccountLocked}"
IsVisible="{Binding IsLockedAndNotActive}"
- StyleClass="list-sub"
+ StyleClass="accountlist-sub, accountlist-sub-platform"
FontAttributes="Italic"
TextTransform="Lowercase"
LineBreakMode="TailTruncation" />
@@ -94,7 +94,7 @@
Grid.Row="2"
Text="{u:I18n AccountLoggedOut}"
IsVisible="{Binding IsLoggedOutAndNotActive}"
- StyleClass="list-sub"
+ StyleClass="accountlist-sub, accountlist-sub-platform"
FontAttributes="Italic"
TextTransform="Lowercase"
LineBreakMode="TailTruncation" />
@@ -144,7 +144,7 @@
AutomationProperties.IsInAccessibleTree="False" />
diff --git a/src/App/Styles/Android.xaml b/src/App/Styles/Android.xaml
index 48edce35b..42c292738 100644
--- a/src/App/Styles/Android.xaml
+++ b/src/App/Styles/Android.xaml
@@ -92,7 +92,7 @@
+ Value="Medium" />
+ Value="Medium" />
+
+
diff --git a/src/App/Styles/Base.xaml b/src/App/Styles/Base.xaml
index 27d5f60b9..dd024bbbb 100644
--- a/src/App/Styles/Base.xaml
+++ b/src/App/Styles/Base.xaml
@@ -221,6 +221,14 @@
+
+
+
+