fix: add Commands button (📋) to HomeScreen header
The Commands button was on the Orchestrator page header which is no longer visited when the orchestrator is running. Move it to the HomeScreen header so it's always accessible. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
d733f107c3
commit
185dc97ede
|
|
@ -38,7 +38,7 @@ export default function HomeScreen({ navigation }: Props) {
|
|||
React.useLayoutEffect(() => {
|
||||
navigation.setOptions({
|
||||
headerRight: () => (
|
||||
<View style={{ flexDirection: "row", alignItems: "center", gap: 14 }}>
|
||||
<View style={{ flexDirection: "row", alignItems: "center", gap: 12 }}>
|
||||
<TouchableOpacity
|
||||
onPress={() => navigation.navigate("SpawnSession")}
|
||||
style={{ flexDirection: "row", alignItems: "center", gap: 2 }}
|
||||
|
|
@ -46,6 +46,9 @@ export default function HomeScreen({ navigation }: Props) {
|
|||
<Text style={{ color: "#3fb950", fontSize: 18, fontWeight: "700" }}>+</Text>
|
||||
<Text style={{ color: "#3fb950", fontSize: 13, fontWeight: "600" }}>Session</Text>
|
||||
</TouchableOpacity>
|
||||
<TouchableOpacity onPress={() => navigation.navigate("Commands")}>
|
||||
<Text style={{ fontSize: 20 }}>{"\uD83D\uDCCB"}</Text>
|
||||
</TouchableOpacity>
|
||||
<TouchableOpacity
|
||||
onPress={() => {
|
||||
if (orchestratorId) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue