Skip to content

Commit

Permalink
components/LayerBalance: give action buttons theme styling
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed Dec 31, 2022
1 parent 68f5eb0 commit 6629012
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions components/LayerBalances/LightningSwipeableRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default class LightningSwipeableRow extends Component<
height={30}
/>
)}
<Text style={styles.actionText}>{text}</Text>
<Text style={{ ...styles.actionText, color: themeColor('text') }}>{text}</Text>
</RectButton>
</Animated.View>
);
Expand Down Expand Up @@ -163,7 +163,6 @@ export default class LightningSwipeableRow extends Component<

const styles = StyleSheet.create({
actionText: {
color: 'gray',
fontSize: 12,
backgroundColor: 'transparent',
padding: 10,
Expand Down
3 changes: 1 addition & 2 deletions components/LayerBalances/OnchainSwipeableRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default class OnchainSwipeableRow extends Component<
height={30}
/>
)}
<Text style={styles.actionText}>{text}</Text>
<Text style={{...styles.actionText, color: themeColor('text')}}>{text}</Text>
</RectButton>
</Animated.View>
);
Expand Down Expand Up @@ -159,7 +159,6 @@ export default class OnchainSwipeableRow extends Component<

const styles = StyleSheet.create({
actionText: {
color: 'gray',
fontSize: 12,
backgroundColor: 'transparent',
padding: 10,
Expand Down

0 comments on commit 6629012

Please sign in to comment.