Skip to content

Commit

Permalink
change PickerNetwork prop from disabled to isDisabled
Browse files Browse the repository at this point in the history
  • Loading branch information
owencraston committed Dec 2, 2024
1 parent c95f4b1 commit b5a005e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const PickerNetwork = ({
label,
imageSource,
hideNetworkName,
disabled = false,
isDisabled = false,
...props
}: PickerNetworkProps) => {
const { styles } = useStyles(stylesheet, { style });
Expand All @@ -31,7 +31,7 @@ const PickerNetwork = ({
<TouchableOpacity
style={styles.base}
onPress={onPress}
disabled={disabled}
disabled={isDisabled}
{...props}
>
<View style={hideNetworkName ? styles.networkIconContainer : null}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface PickerNetworkProps extends TouchableOpacityProps {
/**
* Optional Boolean to determine if the picker is pressable. Defaults to `false`.
*/
disabled?: boolean;
isDisabled?: boolean;
/**
* Callback to trigger when picker is pressed.
*/
Expand Down
2 changes: 1 addition & 1 deletion app/components/UI/Navbar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1078,7 +1078,7 @@ export function getWalletNavbarOptions(
imageSource={require('../../../images/bitcoin-logo.png')}
testID={WalletViewSelectorsIDs.NAVBAR_NETWORK_BUTTON}
hideNetworkName
disabled
isDisabled
/>
);
}
Expand Down

0 comments on commit b5a005e

Please sign in to comment.