Skip to content

Commit

Permalink
added alternate play icon
Browse files Browse the repository at this point in the history
  • Loading branch information
desperado1802 committed Nov 30, 2023
1 parent 42fccb8 commit d469597
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 5 additions & 0 deletions apps/mobile/app/components/svgs/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,11 @@ export const onlineAndTrackingTimeStatusIcon = `<svg
/>
</svg>`;

export const onlineAndTrackingTimeAlternate = `<svg width="8" height="8" viewBox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6.8838 4.17641L2.8039 6.6367C2.56371 6.78082 2.25488 6.60925 2.25488 6.32788V3.58278C2.25488 2.38523 3.54851 1.63719 4.58822 2.23425L6.16322 3.14013L6.88037 3.5519C7.11714 3.69258 7.12057 4.03572 6.8838 4.17641Z" fill="#307D50"/>
<path d="M7.08967 6.18718L5.69996 6.99012L4.31369 7.78963C3.81614 8.07444 3.25339 8.0161 2.84506 7.72787C2.64604 7.59061 2.67006 7.28522 2.87937 7.16169L7.24065 4.54699C7.44653 4.42346 7.71761 4.54012 7.75536 4.77689C7.84114 5.30875 7.62153 5.88179 7.08967 6.18718Z" fill="#307D50"/>
</svg>`;

export const pauseStatusIcon = `<svg
width="8"
height="8"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,7 @@ const SidePopUp: FC<IMenuProps> = ({ props, setShowMenu, setEditTitle, setEnable
{isAssigned && (
<ListItem
textStyle={[styles.dropdownTxt, { color: colors.primary }]}
TextProps={{ numberOfLines: 1 }}
onPress={() => {
profile.unassignTask(task);
setShowMenu();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import { getTimerStatusValue } from '../../../../helpers/get-timer-status';
import { SvgXml } from 'react-native-svg';
import {
idleStatusIcon,
onlineAndTrackingTimeStatusIcon,
onlineAndTrackingTimeAlternate,
// onlineAndTrackingTimeStatusIcon,
pauseStatusIcon,
suspendedStatusIcon
} from '../../../../components/svgs/icons';
Expand All @@ -27,7 +28,7 @@ const TimerStatus: FC<ITimerStatus> = ({ status }) => {

switch (status) {
case 'online':
iconSvgXml = onlineAndTrackingTimeStatusIcon;
iconSvgXml = onlineAndTrackingTimeAlternate;
break;
case 'pause':
iconSvgXml = pauseStatusIcon;
Expand Down

0 comments on commit d469597

Please sign in to comment.