fixed wrong icon for ediyor screen

This commit is contained in:
ue 2018-11-09 16:57:12 +01:00
parent 5b4c1d3d8d
commit 086108c495
3 changed files with 7 additions and 16 deletions

View File

@ -8,7 +8,7 @@ export default [
key: 'B', key: 'B',
title: 'B', title: 'B',
icon: 'bold', icon: 'bold',
iconType: 'Feather', iconType: 'FontAwesome',
wrapper: '**', wrapper: '**',
onPress: applyWrapFormat, onPress: applyWrapFormat,
// style: { fontWeight: 'bold' }, // style: { fontWeight: 'bold' },
@ -25,7 +25,7 @@ export default [
key: 'L', key: 'L',
title: 'L', title: 'L',
icon: 'list', icon: 'list',
iconType: 'Feather', iconType: 'FontAwesome',
prefix: '-', prefix: '-',
onPress: applyListFormat, onPress: applyListFormat,
}, },
@ -40,7 +40,7 @@ export default [
key: 'I', key: 'I',
title: 'I', title: 'I',
icon: 'italic', icon: 'italic',
iconType: 'Feather', iconType: 'FontAwesome',
wrapper: '*', wrapper: '*',
onPress: applyWrapFormat, onPress: applyWrapFormat,
}, },
@ -48,7 +48,7 @@ export default [
key: 'U', key: 'U',
title: 'U', title: 'U',
icon: 'underline', icon: 'underline',
iconType: 'Feather', iconType: 'FontAwesome',
wrapper: '__', wrapper: '__',
onPress: applyWrapFormat, onPress: applyWrapFormat,
}, },
@ -67,7 +67,6 @@ export default [
icon: 'ios-quote', icon: 'ios-quote',
onPress: applyListFormat, onPress: applyListFormat,
}, },
{ {
key: 'CC', key: 'CC',
title: 'CC', title: 'CC',
@ -75,14 +74,6 @@ export default [
wrapper: '```', wrapper: '```',
onPress: applyWrapFormatNewLines, onPress: applyWrapFormatNewLines,
}, },
{
key: 'WEB',
title: 'WEB',
icon: 'link-2',
iconType: 'Feather',
onPress: applyWebLinkFormat,
},
// { // {
// key: 'H2', // key: 'H2',
// title: 'H2', // title: 'H2',

View File

@ -99,8 +99,8 @@ export default class MarkdownEditorView extends Component {
<IconButton <IconButton
size={20} size={20}
style={styles.rightIcons} style={styles.rightIcons}
iconType="Feather" iconType="FontAwesome"
name="link-2" name="link"
onPress={() => Formats[9].onPress({ getState, setState })} onPress={() => Formats[9].onPress({ getState, setState })}
/> />
<IconButton style={styles.rightIcons} size={20} iconType="Feather" name="image" /> <IconButton style={styles.rightIcons} size={20} iconType="Feather" name="image" />

View File

@ -13,7 +13,7 @@ import { default as ROUTES } from '../../../constants/routeNames';
// Styles // Styles
import styles from './postButtonStyles'; import styles from './postButtonStyles';
const SIZE = 70; const SIZE = 75;
const durationIn = 300; const durationIn = 300;
const durationOut = 200; const durationOut = 200;