diff --git a/src/components/Sparkline.tsx b/src/components/Sparkline.tsx index f0eb6aa0..21792069 100644 --- a/src/components/Sparkline.tsx +++ b/src/components/Sparkline.tsx @@ -1,6 +1,7 @@ import { useTheme } from '@utils/styles/ThemeManager' import { maxBy, minBy } from 'lodash' import React from 'react' +import { Platform } from 'react-native' import Svg, { G, Path } from 'react-native-svg' export interface Props { @@ -68,7 +69,7 @@ const Sparkline: React.FC = ({ data, width, height, margin = 0 }) => { const fillPoints = linePoints.concat(closePolyPoints) return ( - +