()
| 169 | ); |
| 170 | |
| 171 | const renderTitle = () => { |
| 172 | if (title) { |
| 173 | return Colors.GradientColors && Colors.GradientColors.length > 0 ? ( |
| 174 | <Gradient colors={Colors.GradientColors}> |
| 175 | <Text bold>{title}</Text> |
| 176 | </Gradient> |
| 177 | ) : ( |
| 178 | <Text bold color={Colors.AccentPurple}> |
| 179 | {title} |
| 180 | </Text> |
| 181 | ); |
| 182 | } |
| 183 | return ( |
| 184 | <Text bold color={Colors.AccentPurple}> |
| 185 | Session Stats |
| 186 | </Text> |
| 187 | ); |
| 188 | }; |
| 189 | |
| 190 | return ( |
| 191 | <Box |