Skip to content
TypeScript

fix(mobile): the iPhone compose icon matches the tab icons' size (#24650)

Julius Marminge906d1e9fa150
diff --git a/apps/mobile/modules/t3-native-controls/ios/T3SidebarTabBarView.swift b/apps/mobile/modules/t3-native-controls/ios/T3SidebarTabBarView.swift
index b7afac0b4b9..f96c0096268 100644
--- a/apps/mobile/modules/t3-native-controls/ios/T3SidebarTabBarView.swift
+++ b/apps/mobile/modules/t3-native-controls/ios/T3SidebarTabBarView.swift
@@ -92,8 +92,7 @@ final class T3SidebarTabBarView: ExpoView, UITabBarDelegate {
}
configuration.cornerStyle = .capsule
configuration.baseForegroundColor = .label
- configuration.image = UIImage(systemName: "square.and.pencil")
- configuration.preferredSymbolConfigurationForImage = UIImage.SymbolConfiguration(pointSize: 24)
+ configuration.image = tabIcon(UIImage(systemName: "square.and.pencil"))
composeButton.configuration = configuration
}