chore: small updates 8894808f
Steve · 2026-01-03 14:19 2 file(s) · +8 −4
Titan/Views/BrowserToolbar.swift +4 −4
110 110
            if isLoading {
111 111
                Button(action: onCancel) {
112 112
                    Image(systemName: "xmark.circle.fill")
113 -
                        .font(.body)
113 +
                        .font(.title2)
114 114
                        .foregroundStyle(themeSettings.toolbarButtonColor.opacity(0.7))
115 +
                        .frame(width: 44, height: 44)
115 116
                }
116 -
                .padding(.horizontal, 10)
117 117
                .transition(.opacity.combined(with: .scale(scale: 0.8)))
118 118
            } else if isURLFocused.wrappedValue && !urlText.isEmpty {
119 119
                Button {
120 120
                    urlText = ""
121 121
                } label: {
122 122
                    Image(systemName: "xmark.circle.fill")
123 -
                        .font(.body)
123 +
                        .font(.title2)
124 124
                        .foregroundStyle(themeSettings.toolbarButtonColor.opacity(0.7))
125 +
                        .frame(width: 44, height: 44)
125 126
                }
126 -
                .padding(.horizontal, 10)
127 127
                .transition(.opacity.combined(with: .scale(scale: 0.8)))
128 128
            } else {
129 129
                Spacer()
Titan/Views/ContentView.swift +4 −0
177 177
                saveCurrentTabState()
178 178
                tabManager.switchTo(id: tab.id)
179 179
                loadActiveTabState()
180 +
                // If this is a new tab with no URL, navigate to home
181 +
                if urlText.isEmpty {
182 +
                    navigateTo(themeSettings.homePage)
183 +
                }
180 184
            }
181 185
        }
182 186
        .alert("Certificate Changed", isPresented: $showCertificateMismatchAlert) {