Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/LIVE-3808 - nft gallery with reborn #1521

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ export default function BaseNavigator() {
name={NavigatorName.ReceiveFunds}
component={ReceiveFundsNavigator}
options={{ headerShown: false }}
{...noNanoBuyNanoWallScreenOptions}
/>
<Stack.Screen
name={NavigatorName.SendFunds}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
import { useState, useCallback } from "react";
import { track } from "../../../analytics";

export function useReceiveNFTsModal() {
const [isModalOpened, setModalOpened] = useState<boolean>(false);

const openModal = useCallback(() => setModalOpened(true), [setModalOpened]);
const openModal = useCallback(() => {
track("button_clicked", {
button: "Add my NFTs",
});
setModalOpened(true);
}, [setModalOpened]);
const closeModal = useCallback(() => setModalOpened(false), [setModalOpened]);

return {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ const PortfolioEmptyState = ({
</Text>
<Flex flex={1} borderBottomWidth={1} borderColor="neutral.c30" />
</Flex>
<Flex width="100%" mt={7} px={6}>
<Flex width="100%" mt={7} mb={11} px={6}>
<Button
type="shade"
outline
Expand Down