Replace plus icon with play button on quick command entry (#5674)
This commit is contained in:
parent
84a5def248
commit
e179348fcc
|
|
@ -1,5 +1,5 @@
|
|||
import { useMemo, useState } from 'react'
|
||||
import { Plus } from 'lucide-react'
|
||||
import { Play } from 'lucide-react'
|
||||
import { useAppStore } from '@/store'
|
||||
import { Tooltip, TooltipContent, TooltipTrigger } from '@/components/ui/tooltip'
|
||||
import {
|
||||
|
|
@ -151,7 +151,7 @@ export function TabBarQuickCommandsButton({
|
|||
'Add quick command'
|
||||
)}
|
||||
>
|
||||
<Plus className="size-3.5" />
|
||||
<Play className="size-3.5" />
|
||||
<span className="text-[12px] font-medium">
|
||||
{translate(
|
||||
'auto.components.tab.bar.TabBarQuickCommandsButton.a2c7a33831',
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { useCallback, useEffect, useMemo, useRef, useState } from 'react'
|
||||
import { ChevronDown, Pencil, Play, Plus, Trash2 } from 'lucide-react'
|
||||
import { ChevronDown, Pencil, Play, Trash2 } from 'lucide-react'
|
||||
import {
|
||||
Command,
|
||||
CommandEmpty,
|
||||
|
|
@ -373,7 +373,7 @@ export function TabBarQuickCommandsMenu({
|
|||
}}
|
||||
className="flex w-full items-center gap-2 rounded-[5px] px-2 py-1.5 text-[12px] text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
|
||||
>
|
||||
<Plus className="size-3.5" />
|
||||
<Play className="size-3.5" />
|
||||
{translate(
|
||||
'auto.components.tab.bar.TabBarQuickCommandsButton.a2c7a33831',
|
||||
'Command'
|
||||
|
|
|
|||
Loading…
Reference in New Issue