-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'comma-separate-amounts' into 'dev'
Comma separate amounts See merge request ergo/minotaur/minotaur-wallet!40
- Loading branch information
Showing
14 changed files
with
108 additions
and
72 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 @@ | ||
--- | ||
'minotaur-wallet': minor | ||
--- | ||
|
||
Display all values comma separated |
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
11 changes: 7 additions & 4 deletions
11
apps/wallet/src/components/qr-code-scanner/reader/StatusBox.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,18 +1,21 @@ | ||
import { CheckCircleOutline, RadioButtonUnchecked } from '@mui/icons-material'; | ||
import { Box } from '@mui/material'; | ||
|
||
|
||
interface StatusBoxPropsTypes { | ||
value: string; | ||
} | ||
|
||
const StatusBox = (props: StatusBoxPropsTypes) => { | ||
const scanned = props.value !== ''; | ||
return ( | ||
<Box p={0} display="flex" color={scanned ? "success.light" : undefined}> | ||
{scanned ? <CheckCircleOutline fontSize="small"/> : <RadioButtonUnchecked fontSize="small"/>} | ||
<Box p={0} display="flex" color={scanned ? 'success.light' : undefined}> | ||
{scanned ? ( | ||
<CheckCircleOutline fontSize="small" /> | ||
) : ( | ||
<RadioButtonUnchecked fontSize="small" /> | ||
)} | ||
</Box> | ||
); | ||
} | ||
}; | ||
|
||
export default StatusBox; |
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
Oops, something went wrong.