Skip to content
Snippets Groups Projects
Unverified Commit e395a804 authored by Samuel Elliott's avatar Samuel Elliott
Browse files

Fix auto refresh text

parent 3c43019e
Branches i18n
No related merge requests found
......@@ -50,7 +50,7 @@ export default function App(props: AppProps) {
style={styles.checkbox}
/>
)} />
<TouchableOpacity onPress={() => setAutoRefresh(auto_refresh ? undefined : 30 * 1000)}>
<TouchableOpacity style={styles.checkboxLabel} onPress={() => setAutoRefresh(auto_refresh ? undefined : 30 * 1000)}>
<Translation keyPrefix="main_window:sidebar">{
t => <Text style={theme.text}>{t('enable_auto_refresh')}</Text>
}</Translation>
......@@ -95,6 +95,9 @@ const styles = StyleSheet.create({
checkbox: {
marginRight: 10,
},
checkboxLabel: {
flex: 1,
},
});
const light = StyleSheet.create({
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment