diff --git a/src/packages/pulltorefresh/pulltorefresh.taro.tsx b/src/packages/pulltorefresh/pulltorefresh.taro.tsx index 26c8cc419c..acb2730b84 100644 --- a/src/packages/pulltorefresh/pulltorefresh.taro.tsx +++ b/src/packages/pulltorefresh/pulltorefresh.taro.tsx @@ -10,7 +10,7 @@ import { sleep } from '@/utils/sleep' import { BasicComponent, ComponentDefaults, Timeout } from '@/utils/typings' import { PullToRefreshType } from './types' import pxTransform from '@/utils/px-transform' -import { harmonyAndRn, rn } from '@/utils/platform-taro' +import { rn } from '@/utils/platform-taro' export type PullStatus = 'pulling' | 'canRelease' | 'refreshing' | 'complete' @@ -77,10 +77,8 @@ export const PullToRefresh: FunctionComponent> = ( const renderIcons = (status: string) => { return ( <> - {(status === 'pulling' || status === 'complete') && - (!harmonyAndRn() ? : null)} - {(status === 'canRelease' || status === 'refreshing') && - (!harmonyAndRn() ? : null)} + {(status === 'pulling' || status === 'complete') && } + {(status === 'canRelease' || status === 'refreshing') && } ) }