From 10e09c18d92fd8941024149f24b9f403bccb102a Mon Sep 17 00:00:00 2001 From: Vijay <94220135+vijay151096@users.noreply.github.com> Date: Thu, 16 Nov 2023 11:08:54 +0530 Subject: [PATCH] fix(inji-558): remove isVisible prop from Loader Component. Signed-off-by: Vijay <94220135+vijay151096@users.noreply.github.com> --- components/ui/Loader.tsx | 3 +-- screens/Issuers/IssuersScreen.tsx | 3 +-- screens/Scan/ScanLayout.tsx | 1 - 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/components/ui/Loader.tsx b/components/ui/Loader.tsx index 424a2330ac..c4ab26d002 100644 --- a/components/ui/Loader.tsx +++ b/components/ui/Loader.tsx @@ -114,13 +114,12 @@ export const Loader: React.FC = props => { }; export interface LoaderProps { - isVisible: boolean; title?: string; subTitle?: string; label?: string; hint?: string; onStayInProgress?: () => void; - isHintVisible: boolean; + isHintVisible?: boolean; isBleErrorVisible?: boolean; onCancel?: () => void; onRetry?: () => void; diff --git a/screens/Issuers/IssuersScreen.tsx b/screens/Issuers/IssuersScreen.tsx index ad2287c646..dba137dcc0 100644 --- a/screens/Issuers/IssuersScreen.tsx +++ b/screens/Issuers/IssuersScreen.tsx @@ -1,6 +1,6 @@ import React, {useLayoutEffect, useState} from 'react'; import {useTranslation} from 'react-i18next'; -import {FlatList, Image, View, TextInput, ScrollView} from 'react-native'; +import {FlatList, Image, TextInput, View} from 'react-native'; import {Issuer} from '../../components/openId4VCI/Issuer'; import {Error} from '../../components/ui/Error'; import {Header} from '../../components/ui/Header'; @@ -128,7 +128,6 @@ export const IssuersScreen: React.FC< if (controller.loadingReason) { return ( { if (controller.statusOverlay != null && !controller.isAccepted) { return (