-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FAT-383 Custom image pixel polish + feature flag debug menu improveme…
…nts (#1243) * Remove close button in steps header * Simplify appearance of BottomButtonsContainer (transparent background) * lint * lint * Change header font style (use h5) * Fix layout of cropping step * Fix color of contrast button pill * Rename cropAspectRatio to targetDimensions * changeset * remove useless `Empty` component * lint * Improve feature flag debug menu Add search input Add "add missing flag" input More compact UI Enable/disable toggle Fix overriding logic for resetting to actual remote value * Fix parsing error
- Loading branch information
1 parent
3061dbd
commit 3ab7ed6
Showing
12 changed files
with
167 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"live-mobile": patch | ||
--- | ||
|
||
Change the navigation header font variant from h3 (Alpha) to h5 (Inter) |
22 changes: 1 addition & 21 deletions
22
apps/ledger-live-mobile/src/components/CustomImage/BottomButtonsContainer.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,11 @@ | ||
import { Flex } from "@ledgerhq/native-ui"; | ||
import React, { ReactNode } from "react"; | ||
import { useSafeAreaInsets } from "react-native-safe-area-context"; | ||
import styled from "styled-components/native"; | ||
|
||
type Props = { | ||
children?: ReactNode | undefined; | ||
}; | ||
|
||
const Container = styled(Flex).attrs({ | ||
const BottomButtonsContainer = styled(Flex).attrs({ | ||
flexDirection: "column", | ||
alignSelf: "stretch", | ||
backgroundColor: "background.drawer", | ||
borderTopLeftRadius: "16px", | ||
borderTopRightRadius: "16px", | ||
})``; | ||
const Inner = styled(Flex).attrs({ | ||
padding: 6, | ||
pb: 8, | ||
})``; | ||
|
||
const BottomButtonsContainer: React.FC<Props> = ({ children }) => { | ||
const insets = useSafeAreaInsets(); | ||
return ( | ||
<Container paddingBottom={insets.bottom}> | ||
<Inner>{children}</Inner> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default BottomButtonsContainer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export const cropAspectRatio = { | ||
export const targetDimensions = { | ||
width: 1080, | ||
height: 1400, | ||
}; |
Oops, something went wrong.
3ab7ed6
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.
⏲ 29min 1s ✅ 80 txs ❌ 5 txs⚠️ 1 specs ($356.34) for [Bot] 'Phosphore'
1 critical spec errors
Spec Komodo failed!
5 mutation errors
Portfolio ($356.34) – Details of the 44 currencies
Performance ⏲ 29min 1s
Time spent for each spec: (total across mutations)
3ab7ed6
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.
⏲ 10min 34s ✅ 6 txs ❌ 2 txs ($84.98) for [Bot] Ethereum on Staging
2 mutation errors
Portfolio ($84.98) – Details of the 5 currencies
Performance ⏲ 10min 34s
Time spent for each spec: (total across mutations)
3ab7ed6
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.
⏲ 6min 19s ✅ 41 txs ❌ 2 txs ($56.29) for [Bot] Bitcoin on Staging
2 mutation errors
Portfolio ($56.29) – Details of the 18 currencies
Performance ⏲ 6min 19s
Time spent for each spec: (total across mutations)