Bläddra i källkod

Fix truncated bottomTab.text with semibold fontWeight (#6026)

Yogev Ben David 4 år sedan
förälder
incheckning
b01629c41d
No account linked to committer's email address
1 ändrade filer med 2 tillägg och 0 borttagningar
  1. 2
    0
      lib/ios/TabBarItemAppearanceCreator.m

+ 2
- 0
lib/ios/TabBarItemAppearanceCreator.m Visa fil

@@ -9,10 +9,12 @@
9 9
 }
10 10
 
11 11
 + (void)setTitleAttributes:(UITabBarItem *)tabItem titleAttributes:(NSDictionary *)titleAttributes {
12
+    [super setTitleAttributes:tabItem titleAttributes:titleAttributes];
12 13
     tabItem.standardAppearance.stackedLayoutAppearance.normal.titleTextAttributes = titleAttributes;
13 14
 }
14 15
 
15 16
 + (void)setSelectedTitleAttributes:(UITabBarItem *)tabItem selectedTitleAttributes:(NSDictionary *)selectedTitleAttributes {
17
+    [super setSelectedTitleAttributes:tabItem selectedTitleAttributes:selectedTitleAttributes];
16 18
     tabItem.standardAppearance.stackedLayoutAppearance.selected.titleTextAttributes = selectedTitleAttributes;
17 19
 }
18 20