Skip to content

Commit

Permalink
UnitToggle: fix icon color
Browse files Browse the repository at this point in the history
  • Loading branch information
kaloudis committed Apr 22, 2024
1 parent ca766ca commit c4e850b
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions components/UnitToggle.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import * as React from 'react';
import { inject, observer } from 'mobx-react';

import Button from './../components/Button';
import Button from '../components/Button';

import UnitsStore from './../stores/UnitsStore';
import SettingsStore from './../stores/SettingsStore';
import UnitsStore from '../stores/UnitsStore';
import SettingsStore from '../stores/SettingsStore';

import { themeColor } from '../utils/ThemeUtils';

interface UnitToggleProps {
UnitsStore: UnitsStore;
Expand All @@ -27,7 +29,8 @@ export default class UnitToggle extends React.Component<UnitToggleProps, {}> {
title={units === 'fiat' ? fiat : units}
icon={{
name: 'import-export',
size: 25
size: 25,
color: themeColor('buttonText')
}}
adaptiveWidth
quaternary
Expand Down

0 comments on commit c4e850b

Please sign in to comment.