1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-12-20 23:30:05 +02:00
This commit is contained in:
Laurent Cozic
2017-07-30 23:04:26 +02:00
parent 242b6dbff8
commit 1a5720bd8c
11 changed files with 38 additions and 18 deletions

View File

@@ -3,6 +3,7 @@ import { StyleSheet, Text } from 'react-native';
import Icon from 'react-native-vector-icons/Ionicons';
import ReactNativeActionButton from 'react-native-action-button';
import { connect } from 'react-redux'
import { globalStyle } from 'lib/components/global-style.js'
import { Log } from 'lib/log.js'
import { _ } from 'lib/locale.js'
@@ -12,6 +13,9 @@ const styles = StyleSheet.create({
height: 22,
color: 'white',
},
itemText: {
// fontSize: 14, // Cannot currently set fontsize since the bow surrounding the label has a fixed size
}
});
class ActionButtonComponent extends React.Component {
@@ -118,7 +122,7 @@ class ActionButtonComponent extends React.Component {
);
} else {
return (
<ReactNativeActionButton icon={mainIcon} buttonColor="rgba(231,76,60,1)" onPress={ function() { } }>
<ReactNativeActionButton textStyle={styles.itemText} icon={mainIcon} buttonColor="rgba(231,76,60,1)" onPress={ function() { } }>
{ buttonComps }
</ReactNativeActionButton>
);