Fix spinner color on queue

This commit is contained in:
jeffvli 2022-11-15 13:33:20 -08:00
parent 2a29f33352
commit e76267be06

View File

@ -14,6 +14,7 @@ import { rotating } from '@/renderer/styles';
const StyledActivitySvg = styled(RiRefreshLine)` const StyledActivitySvg = styled(RiRefreshLine)`
${rotating} ${rotating}
animation: rotating 1s linear infinite; animation: rotating 1s linear infinite;
fill: var(--primary-color) !important;
`; `;
export const ActivityMenu = () => { export const ActivityMenu = () => {
@ -71,7 +72,7 @@ export const ActivityMenu = () => {
<Popover.Target> <Popover.Target>
<Button px={5} size="xs" variant="subtle"> <Button px={5} size="xs" variant="subtle">
{isTaskRunning ? ( {isTaskRunning ? (
<StyledActivitySvg color="var(--primary-color)" size={15} /> <StyledActivitySvg size={15} />
) : ( ) : (
<FiActivity size={15} /> <FiActivity size={15} />
)} )}