Fix dropdown filter bug and add save button animation

This commit is contained in:
n4ze3m
2024-02-25 23:45:07 +05:30
parent 094615498c
commit 03db4631d7
7 changed files with 272 additions and 85 deletions

View File

@@ -279,4 +279,10 @@ export const geWebSearchFollowUpPrompt = async () => {
export const setWebSearchFollowUpPrompt = async (prompt: string) => {
await storage.set("webSearchFollowUpPrompt", prompt)
}
export const setWebPrompts = async (prompt: string, followUpPrompt: string) => {
await setWebSearchPrompt(prompt)
await setWebSearchFollowUpPrompt(followUpPrompt)
}