Skip to content

Commit

Permalink
change LoadingIndicator to use from useAnimatedComponents
Browse files Browse the repository at this point in the history
Signed-off-by: Caroline Lucas Calheirani <[email protected]>
  • Loading branch information
CarolineLCa committed Nov 17, 2023
1 parent a10963d commit 7934f86
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/legacy/core/App/components/misc/SharedProofData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import {
getProofData,
groupSharedProofDataByCredential,
} from '../../../verifier'
import { useAnimatedComponents } from '../../contexts/animated-components'
import { useConfiguration } from '../../contexts/configuration'
import { useTheme } from '../../contexts/theme'
import { toImageSource } from '../../utils/credential'
import { formatIfDate, pTypeToText } from '../../utils/helpers'
import { buildFieldsFromSharedAnonCredsProof } from '../../utils/oca'
import { testIdWithKey } from '../../utils/testable'
import LoadingIndicator from '../animated/LoadingIndicator'
import { AttributeValue } from '../record/RecordField'

interface SharedProofDataProps {
Expand Down Expand Up @@ -190,6 +190,7 @@ const SharedDataCard: React.FC<{ sharedData: GroupedSharedProofDataItem }> = ({

const SharedProofData: React.FC<SharedProofDataProps> = ({ recordId, onSharedProofDataLoad }: SharedProofDataProps) => {
const { agent } = useAgent()
const { LoadingIndicator } = useAnimatedComponents()
const styles = StyleSheet.create({
container: {
flexGrow: 1,
Expand Down

0 comments on commit 7934f86

Please sign in to comment.