Browse Source

Fixed buttons not clickable on iOS

Arnaud Vergnet 4 years ago
parent
commit
cb1aa8bcf2
1 changed files with 7 additions and 7 deletions
  1. 7
    7
      src/components/Custom/AnimatedBottomBar.js

+ 7
- 7
src/components/Custom/AnimatedBottomBar.js View File

@@ -75,6 +75,13 @@ class AnimatedBottomBar extends React.Component<Props, State> {
75 75
                 ref={this.ref}
76 76
                 style={styles.container}>
77 77
                 <Surface style={styles.surface}>
78
+                    <View style={styles.fabContainer}>
79
+                        <FAB
80
+                            style={styles.fab}
81
+                            icon="account-clock"
82
+                            onPress={() => this.props.navigation.navigate('group-select')}
83
+                        />
84
+                    </View>
78 85
                     <View style={{flexDirection: 'row'}}>
79 86
                         <IconButton
80 87
                             icon={this.displayModeIcons[this.state.currentMode]}
@@ -86,13 +93,6 @@ class AnimatedBottomBar extends React.Component<Props, State> {
86 93
                             style={{marginLeft: 5}}
87 94
                             onPress={() => this.props.onPress('today', undefined)}/>
88 95
                     </View>
89
-                    <View style={styles.fabContainer}>
90
-                    <FAB
91
-                        style={styles.fab}
92
-                        icon="account-clock"
93
-                        onPress={() => this.props.navigation.navigate('group-select')}
94
-                    />
95
-                    </View>
96 96
                     <View style={{flexDirection: 'row'}}>
97 97
                         <IconButton
98 98
                             icon="chevron-left"

Loading…
Cancel
Save