Skip to content

Commit

Permalink
Merge pull request #3682 from TrainLCD/fix/station-list
Browse files Browse the repository at this point in the history
種別モーダルの駅名取得中は確定できない
  • Loading branch information
TinyKitten authored Aug 13, 2024
2 parents 5edcac4 + e021fbb commit 8a94685
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/TrainTypeInfoModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ export const TrainTypeInfoModal: React.FC<Props> = ({
<Button
color={isLEDTheme ? undefined : '#008ffe'}
onPress={() => onConfirmed(trainType)}
disabled={!stopStations.length}
>
確定
</Button>
Expand Down
2 changes: 1 addition & 1 deletion src/screens/TrainTypeSettingsScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import stationState from '../store/atoms/station'
import { translate } from '../translation'

const styles = StyleSheet.create({
root: { flex: 1, paddingHorizontal: 48, paddingTop: 12 },
root: { flex: 1, paddingHorizontal: 48, paddingVertical: 12 },
listContainer: { flex: 1, width: '65%', alignSelf: 'center' },
})

Expand Down

0 comments on commit 8a94685

Please sign in to comment.