Drop react-native-progress fork (#11312)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import {View} from 'react-native'
|
||||
import * as Progress from 'react-native-progress'
|
||||
import {Circle as ProgressCircle} from 'react-native-progress'
|
||||
|
||||
import {atoms as a, useTheme} from '#/alf'
|
||||
import {AnimatedCheck} from '../anim/AnimatedCheck'
|
||||
@@ -25,7 +25,7 @@ export function ProgressGuideTask({
|
||||
{current === total ? (
|
||||
<AnimatedCheck playOnMount fill={t.palette.primary_500} width={20} />
|
||||
) : (
|
||||
<Progress.Circle
|
||||
<ProgressCircle
|
||||
progress={current / total}
|
||||
color={t.palette.primary_400}
|
||||
size={20}
|
||||
|
||||
Reference in New Issue
Block a user