Render playback text properly on Android
This commit is contained in:
@@ -1,16 +1,14 @@
|
|||||||
|
import { t } from '@localisation';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Text } from 'react-native';
|
|
||||||
import styled from 'styled-components/native';
|
import styled from 'styled-components/native';
|
||||||
|
|
||||||
const Button = styled.View`
|
const Label = styled.Text`
|
||||||
margin: 20px 40px;
|
font-size: 13px;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
function Casting() {
|
function Casting() {
|
||||||
return (
|
return (
|
||||||
<Button>
|
<Label>{t('local-playback')}</Label>
|
||||||
<Text>Local Playback</Text>
|
|
||||||
</Button>
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user