-
Notifications
You must be signed in to change notification settings - Fork 113
LIVE-1625 Add hide NFT collection feature #2333
Conversation
* Remove useless dependency to hw-app-btc * Also remove hw-app-eth and hw-app-xrp
* Use design system for Checkbox and Swich components * Removed useless @flow marker on checkbox file
* Rebrand footer navigation * remove log
…ction + some cleanup git statusthis branch now requires a LLC bump
); | ||
}; | ||
|
||
const styles = StyleSheet.create({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to use StyleSheet if you use native-ui components they implement all of these styles as styled-component props
<View style={styles.menuItem}>
->
<Flex flexDirection="row" alignItems="center" >
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
); | ||
}; | ||
|
||
const styles = StyleSheet.create({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here you dont need StyleSheet anymore if you need to use styles you cant target via props use styled and extend on it
import styled from "styled-components/native";
const StyledNFTImage = styled(NFTImage)`
borderRadius: 4,
width: 36,
aspectRatio: 1,
overflow: "hidden",
`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some changes to be made if you use new styling tools 👍
Closed for the rebased version here: #2452 |
This PR adds the possibility of hiding NFT collections from both the account page and the NFT Gallery page.
The hidden collections are visible in the account settings page and can be unhidden there.
Screen_Recording_20220324-171322_LL.DEV.mp4
Type
Feature
Context
LIVE-1625
Parts of the app affected / Test plan
Account page, NFT Gallery and Setting page.
On an account page, long-press an NFT collection to show the hide menu.
On the NFT Gallery, click the 3 dots beside the collection title to show the hide menu.
Go to settings -> accounts -> hidden NFT collections to unhide the collections.
Hidden collections should not be visible in the account page nor the NFT gallery.