@devries-cameron20 / t3code Mirror · read-only / commits / c7c2bcc3a6
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 22, 02:00 UTC

fix(mobile): compose button no longer covers the last tab on iPhone (#32995)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>

Julius Marminge committed Nov 8, 2026 at 21:18 UTC c7c2bcc3a6cf6ee32d1975f8d51e82dc37ace156
1 file changed +5 -1
apps/mobile/modules/t3-native-controls/ios/T3SidebarTabBarView.swift
+5 -1
@@ -11,7 +11,11 @@ private final class WorkspaceTabBar: UITabBar {
11 let candidates = identified.isEmpty ? tabButtons(in: self) { _ in true } : identified
12 // Pressing a tab adds a magnified copy of the row for the glass lens, without identifiers.
13 // Sizing compose from it leaves compose enlarged until the bar lays out again.
14 - let buttons = candidates.filter { convert($0.bounds, from: $0).size == $0.bounds.size }
14 + // The copy is many points larger; the tolerance only absorbs conversion rounding.
15 + let buttons = candidates.filter {
16 + let size = convert($0.bounds, from: $0).size
17 + return abs(size.width - $0.bounds.width) < 1 && abs(size.height - $0.bounds.height) < 1
18 + }
19 let row = buttons.reduce(CGRect.null) { $0.union(convert($1.bounds, from: $1)) }
20 if !row.isNull { onContentLayout?(row) }
21 }