Skip to content

Commit

Permalink
fix activity indicator
Browse files Browse the repository at this point in the history
  • Loading branch information
stackchain committed May 23, 2022
1 parent 2940cb0 commit 1f8ffe6
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion legacy/components/Ledger/DeviceItem/DeviceItem.js
Expand Up @@ -25,7 +25,7 @@ export const DeviceItem = ({device, onSelect}: Props) => {
return (
<TouchableOpacity style={styles.deviceItem} onPress={onPress} disabled={pending}>
<Text style={styles.deviceName}>{device.name}</Text>
{pending ? <ActivityIndicator /> : null}
{pending ? <ActivityIndicator color="black" /> : null}
</TouchableOpacity>
)
}
Expand Down
2 changes: 1 addition & 1 deletion legacy/components/Ledger/LedgerConnect.js
Expand Up @@ -325,7 +325,7 @@ class LedgerConnect extends React.Component<Props, State> {
disabled={refreshing || deviceObj == null || waiting}
/>
)}
{waiting && <ActivityIndicator />}
{waiting && <ActivityIndicator color="black" />}
</>
)
}
Expand Down
2 changes: 1 addition & 1 deletion legacy/components/UiKit/PleaseWaitModal.js
Expand Up @@ -13,7 +13,7 @@ export const PleaseWaitView = ({title, spinnerText}: PleaseWaitViewProps) => (
<View style={styles.container}>
<Text style={styles.title}>{title}</Text>

<ActivityIndicator size="large" />
<ActivityIndicator size="large" color="black" />

<Text style={styles.wait}>{spinnerText}</Text>
</View>
Expand Down
2 changes: 1 addition & 1 deletion src/Dashboard/Dashboard.tsx
Expand Up @@ -93,7 +93,7 @@ export const Dashboard = () => {

<Row>
{!stakingInfo ? (
<ActivityIndicator size="large" />
<ActivityIndicator size="large" color="black" />
) : stakingInfo?.isRegistered ? (
<UserSummary
totalAdaSum={balances['ADA'] ? new BigNumber(balances['ADA']) : null}
Expand Down
2 changes: 1 addition & 1 deletion src/Dashboard/StakePoolInfo.tsx
Expand Up @@ -15,7 +15,7 @@ export const StakePoolInfo = ({stakePoolId}: {stakePoolId: string}) => {
const {stakePoolInfo, isLoading} = useStakePoolInfo(wallet, stakePoolId)

if (isLoading) {
return <ActivityIndicator size="large" />
return <ActivityIndicator size="large" color="black" />
}

return stakePoolInfo ? (
Expand Down
2 changes: 1 addition & 1 deletion src/Receive/AddressVerifyModal.tsx
Expand Up @@ -44,7 +44,7 @@ export const AddressVerifyModal = ({visible, onConfirm, onRequestClose, address,

<Button onPress={onConfirm} title={strings.confirmButton} style={styles.button} disabled={isWaiting} />

{isWaiting && <ActivityIndicator />}
{isWaiting && <ActivityIndicator color="black" />}
</ScrollView>
</Modal>
)
Expand Down
Expand Up @@ -88,7 +88,7 @@ export const WalletSelectionScreen = () => {
.sort(byName)
.map((walletMeta) => <WalletListItem key={walletMeta.id} wallet={walletMeta} onPress={onSelect} />)
) : (
<ActivityIndicator />
<ActivityIndicator color="black" />
)}
</ScrollView>

Expand Down
2 changes: 1 addition & 1 deletion src/Send/SendScreen/SendScreen.tsx
Expand Up @@ -307,7 +307,7 @@ export const SendScreen = ({

{recomputing && (
<View style={styles.indicator}>
<ActivityIndicator size="large" />
<ActivityIndicator size="large" color="black" />
</View>
)}
</ScrollView>
Expand Down
Expand Up @@ -29,7 +29,7 @@ export const WalletCredentialsScreen = () => {
createWallet({name, password, mnemonicPhrase: phrase, networkId, walletImplementationId, provider})
}
/>
{isLoading && <ActivityIndicator />}
{isLoading && <ActivityIndicator color="black" />}
</SafeAreaView>
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/WalletInit/WalletNameForm/WalletNameForm.tsx
Expand Up @@ -88,7 +88,7 @@ export const WalletNameForm = ({
/>
</View>

{isWaiting ? <ActivityIndicator /> : null}
{isWaiting ? <ActivityIndicator color="black" /> : null}
</SafeAreaView>
)
}
Expand Down

0 comments on commit 1f8ffe6

Please sign in to comment.