fix(#201): missing translations

This commit is contained in:
Paolo Miguel de Leon
2022-11-22 11:45:39 +08:00
parent d2f2ce5ce2
commit 542ef24506
4 changed files with 17 additions and 6 deletions

View File

@@ -88,13 +88,13 @@ const SharingCode: React.FC<RequestScreenProps> = ({ t, controller }) => {
</Centered>
<Row align="center" crossAlign="center" margin={[0, 0, 48, 0]}>
<Text margin={[0, 16, 0, 0]}>Offline</Text>
<Text margin={[0, 16, 0, 0]}>{t('offline')}</Text>
<Switch
value={controller.sharingProtocol === 'ONLINE'}
onValueChange={controller.SWITCH_PROTOCOL}
disabled={Platform.OS === 'ios'}
/>
<Text margin={[0, 0, 0, 16]}>Online</Text>
<Text margin={[0, 0, 0, 16]}>{t('online')}</Text>
</Row>
</React.Fragment>
);