From ffb0b03b413008f140277a5dabd93cbda66b642f Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Wed, 15 Apr 2020 22:18:14 +0200 Subject: [PATCH] Improved group selection button --- src/components/Custom/AnimatedBottomBar.js | 30 ++++++++++++++-------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/src/components/Custom/AnimatedBottomBar.js b/src/components/Custom/AnimatedBottomBar.js index 49da962..5729253 100644 --- a/src/components/Custom/AnimatedBottomBar.js +++ b/src/components/Custom/AnimatedBottomBar.js @@ -2,7 +2,7 @@ import * as React from 'react'; import {StyleSheet, View} from "react-native"; -import {Button, IconButton, Surface, withTheme} from "react-native-paper"; +import {FAB, IconButton, Surface, withTheme} from "react-native-paper"; import AutoHideComponent from "./AutoHideComponent"; type Props = { @@ -85,13 +85,24 @@ class AnimatedBottomBar extends React.Component { style={{marginLeft: 5}} onPress={() => this.props.onPress('today', undefined)}/> - + + this.props.navigation.navigate('group-select')} + /> +