Skip to content

Commit a223117

Browse files
1998codeG.Dev.Ssomsak
authored and
G.Dev.Ssomsak
committed
Sync UI from VertexAI for Firebase (google-gemini#172)
1 parent e85b222 commit a223117

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Examples/GenerativeAISample/FunctionCallingSample/Screens/FunctionCallingScreen.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ struct FunctionCallingScreen: View {
6565
}
6666
}
6767
})
68+
.onTapGesture {
69+
focusedField = nil
70+
}
6871
}
6972
InputField("Message...", text: $userPrompt) {
7073
Image(systemName: viewModel.busy ? "stop.circle.fill" : "arrow.up.circle.fill")

0 commit comments

Comments
 (0)