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 f7c4dc9 commit 4b85620
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions components/LayerBalances/LightningSwipeableRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,14 @@ 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 +170,6 @@ export default class LightningSwipeableRow extends Component<

const styles = StyleSheet.create({
actionText: {
color: 'gray',
fontSize: 12,
backgroundColor: 'transparent',
padding: 10,
Expand Down
10 changes: 8 additions & 2 deletions components/LayerBalances/OnchainSwipeableRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,14 @@ 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 +166,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 4b85620

Please sign in to comment.