Skip to content

Commit 30c47d6

Browse files
committed
👌 rename <Selector /> to <PreferencePicker />
1 parent b96b9d3 commit 30c47d6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

client/modules/Mobile/MobilePreferences.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import * as IdeActions from '../IDE/actions/ide';
1010

1111
import Screen from '../../components/mobile/MobileScreen';
1212
import Header from '../../components/mobile/Header';
13-
import Selector from '../../components/mobile/Selector';
13+
import PreferencePicker from '../../components/mobile/PreferencePicker';
1414
import { ExitIcon } from '../../common/icons';
1515
import { remSize, prop } from '../../theme';
1616

@@ -180,14 +180,14 @@ const MobilePreferences = (props) => {
180180
<section className="preferences">
181181
<Content>
182182
<SectionHeader>General Settings</SectionHeader>
183-
{ generalSettings.map(option => <Selector key={`${option.title}wrapper`} {...option} />) }
183+
{ generalSettings.map(option => <PreferencePicker key={`${option.title}wrapper`} {...option} />) }
184184

185185
<SectionHeader>Accessibility</SectionHeader>
186-
{ accessibilitySettings.map(option => <Selector key={`${option.title}wrapper`} {...option} />) }
186+
{ accessibilitySettings.map(option => <PreferencePicker key={`${option.title}wrapper`} {...option} />) }
187187

188188
<SectionHeader>Accessible Output</SectionHeader>
189189
<h3>Used with screen reader</h3>
190-
{ outputSettings.map(option => <Selector key={`${option.title}wrapper`} {...option} />) }
190+
{ outputSettings.map(option => <PreferencePicker key={`${option.title}wrapper`} {...option} />) }
191191

192192
</Content>
193193
</section>

0 commit comments

Comments
 (0)