Skip to content

Commit

Permalink
fix(widgets): facts widget icon (#743)
Browse files Browse the repository at this point in the history
* fix(widgets): facts widget icon

* style: fix lint errors
  • Loading branch information
pwltr authored Nov 29, 2022
1 parent 12068af commit f42b99b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion postinstall-slashtags.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function transform() {
// in case of saving profile while relay socket is closing!
['autoClose: true', 'autoClose: false'],
// Sigh.. I don't know what is the point of Babel?
['let result = 0n', 'let result = BigInt(0)']
['let result = 0n', 'let result = BigInt(0)'],
].forEach(([prev, target]) => {
src = src.replace(prev, target);
});
Expand Down
4 changes: 2 additions & 2 deletions src/components/FactsWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import {
View,
Text01M,
Caption13M,
NewspaperIcon,
GearIcon,
TrashIcon,
LightBulbIcon,
} from '../styles/components';
import { useSlashtagsSDK } from './SlashtagsProvider';
import { showErrorNotification } from '../utils/notifications';
Expand Down Expand Up @@ -98,7 +98,7 @@ const FactsWidget = ({
activeOpacity={0.9}
onPress={onPress}>
<View style={styles.icon}>
{<NewspaperIcon width={32} height={32} />}
{<LightBulbIcon width={32} height={32} />}
</View>
<View style={styles.infoContainer}>
<Text01M style={styles.name} numberOfLines={1}>
Expand Down
2 changes: 1 addition & 1 deletion src/screens/Wallets/Send/ReviewAndSend.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -567,7 +567,7 @@ const ReviewAndSend = ({
value={
<>
<TimerIcon style={styles.icon} color="purple" />
<Text02M>{FeeText['instant'].title} (±$0.01)</Text02M>
<Text02M>{FeeText.instant.title} (±$0.01)</Text02M>
</>
}
/>
Expand Down

0 comments on commit f42b99b

Please sign in to comment.