Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

駅リスト関係の修正 #3680

Merged
merged 2 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/components/FakeStationSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import { StationList } from './StationList'
const styles = StyleSheet.create({
root: {
paddingHorizontal: 48,
paddingTop: 12,
paddingVertical: 12,
flex: 1,
alignItems: 'center',
},
Expand Down Expand Up @@ -204,7 +204,6 @@ const FakeStationSettings: React.FC = () => {
{translate('searchFirstStationTitle')}
</Heading>
<TextInput
autoFocus
placeholder={translate('searchByStationNamePlaceholder')}
value={query}
style={{
Expand All @@ -223,7 +222,7 @@ const FakeStationSettings: React.FC = () => {
) : (
<StationList
withoutTransfer
data={foundStations}
data={groupedStations}
onSelect={handleStationPress}
/>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/screens/SavedRoutesScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { translate } from '../translation'
const styles = StyleSheet.create({
root: {
paddingHorizontal: 48,
paddingTop: 12,
paddingVertical: 12,
flex: 1,
alignItems: 'center',
},
Expand Down
8 changes: 6 additions & 2 deletions src/screens/SpecifyDestinationSettingsScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,13 @@ const styles = StyleSheet.create({
root: {
paddingHorizontal: 48,
flex: 1,
paddingTop: 12,
paddingVertical: 12,
},
listContainer: {
flex: 1,
width: '65%',
alignSelf: 'center',
},
listContainer: { flex: 1, width: '65%', alignSelf: 'center' },
})

const SpecifyDestinationSettingsScreen: React.FC = () => {
Expand Down
Loading