@quintype/native-components 2.29.0-beta.2 → 2.29.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quintype/native-components",
3
- "version": "2.29.0-beta.2",
3
+ "version": "2.29.1",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -25,7 +25,7 @@ const ProgressBar = (props) => {
25
25
  minimumValue={0}
26
26
  maximumValue={progress.duration}
27
27
  minimumTrackTintColor={COLORS.BRAND_BLACK}
28
- maximumTrackTintColor={COLORS.MONO_6}
28
+ maximumTrackTintColor={COLORS.MONO6}
29
29
  value={progress.position}
30
30
  onValueChange={(val) => props.seekTo(val)}
31
31
  thumbTintColor={COLORS.BRAND_BLACK}
@@ -49,7 +49,7 @@ export const ControlButton = ({ iconName, onPress, FONT_SIZE }) => {
49
49
  const PlayerBase = (props) => {
50
50
  const screenDimensions = useWindowDimensions();
51
51
  const { theme } = useContext(AppTheme);
52
- const { COLORS,translate, FONT_SIZE, DARK_MODE } = theme;
52
+ const { COLORS, translate, FONT_SIZE } = theme;
53
53
  const { card, container, subContainer, playerControlStyle, playbackSpeedText, playerContainer } = playerStyles(screenDimensions);
54
54
  const { style, onTogglePlayback, testID, seekTo, rewindOrForward, isFinishedPlaying, restart, closeButtonHandler } = props;
55
55
 
@@ -99,7 +99,7 @@ const PlayerBase = (props) => {
99
99
  style={playbackSpeedText}
100
100
  onPress={() => props.setShowModal(true)}
101
101
  >
102
- <Text style={{ fontSize: FONT_SIZE.h3, color: DARK_MODE ? COLORS.BRAND_WHITE : COLORS.BRAND_BLACK}}>{`${formatNumber(props.audioRate)}x`}</Text>
102
+ <Text style={{ fontSize: FONT_SIZE.h3, color: COLORS.MONO1}}>{`${formatNumber(props.audioRate)}x`}</Text>
103
103
  </TouchableOpacity>
104
104
  </View>
105
105
  </View>