mirror of
https://github.com/hanzoai/bot.git
synced 2026-10-30 17:24:26 +00:00
Comprehensive rename of all openclaw references to hanzo-bot equivalents: - Package: openclaw → @hanzo/bot - Binary: openclaw → hanzo-bot - Types: OpenClaw* → Bot* - Env vars: OPENCLAW_* → BOT_* - Android: ai.openclaw.android → ai.hanzo.bot.android - iOS/macOS: ai.openclaw.* → ai.hanzo.* - Swift modules: OpenClaw* → Bot* - Plugins: openclaw.plugin.json → bot.plugin.json - Paths: .openclaw/ → .hanzo/bot/ - URLs: github.com/openclaw → github.com/hanzoai
28 lines
899 B
Swift
28 lines
899 B
Swift
import BotKit
|
|
import SwiftUI
|
|
|
|
struct ScreenTab: View {
|
|
@Environment(NodeAppModel.self) private var appModel
|
|
|
|
var body: some View {
|
|
ZStack(alignment: .top) {
|
|
ScreenWebView(controller: self.appModel.screen)
|
|
.ignoresSafeArea()
|
|
.overlay(alignment: .top) {
|
|
if let errorText = self.appModel.screen.errorText,
|
|
self.appModel.gatewayServerName == nil
|
|
{
|
|
Text(errorText)
|
|
.font(.footnote)
|
|
.padding(10)
|
|
.background(.thinMaterial)
|
|
.clipShape(RoundedRectangle(cornerRadius: 12, style: .continuous))
|
|
.padding()
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// Navigation is agent-driven; no local URL bar here.
|
|
}
|