Skip to content
This repository has been archived by the owner on Jun 24, 2022. It is now read-only.

Commit

Permalink
Autofocus titles in QR pages (#1551)
Browse files Browse the repository at this point in the history
* added autofocus to Your Visits page

* added autofocus to title on exposure history screen
  • Loading branch information
smcmurtry authored May 3, 2021
1 parent ea2fc5c commit 4158ec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/screens/qr/CheckInHistoryScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const CheckInHistoryScreen = () => {
<Toolbar title="" navIcon="icon-back-arrow" navText={i18n.translate('PlacesLog.Back')} onIconClicked={back} />
<ScrollView style={styles.flex}>
<Box paddingHorizontal="m">
<Text variant="bodyTitle" marginBottom="l" accessibilityRole="header">
<Text variant="bodyTitle" marginBottom="l" accessibilityRole="header" accessibilityAutoFocus>
{i18n.translate('PlacesLog.Title')}
</Text>
<Text>{i18n.translate('PlacesLog.Body1')}</Text>
Expand Down
2 changes: 1 addition & 1 deletion src/screens/qr/ExposureHistoryScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ export const ExposureHistoryScreen = () => {
<Toolbar title="" navIcon="icon-back-arrow" navText={i18n.translate('PlacesLog.Back')} onIconClicked={back} />
<ScrollView style={styles.flex}>
<Box paddingHorizontal="m" paddingBottom="m">
<Text variant="bodyTitle" marginBottom="l" accessibilityRole="header">
<Text variant="bodyTitle" marginBottom="l" accessibilityRole="header" accessibilityAutoFocus>
{i18n.translate('ExposureHistory.Title')}
</Text>
<Text>{i18n.translate('ExposureHistory.Body')}</Text>
Expand Down

0 comments on commit 4158ec2

Please sign in to comment.