@quintype/native-components 2.29.3 → 2.29.4-beta.0
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
|
@@ -20,7 +20,7 @@ import Icon from 'react-native-vector-icons/AntDesign';
|
|
|
20
20
|
import TrackPlayer, { usePlaybackState, Capability, State, AppKilledPlaybackBehavior, useProgress } from "react-native-track-player";
|
|
21
21
|
import MaterialIcon from "react-native-vector-icons/MaterialCommunityIcons";
|
|
22
22
|
import FontAwesomeIcon from "react-native-vector-icons/FontAwesome";
|
|
23
|
-
import { isDetoxSync } from 'react-native-is-detox';
|
|
23
|
+
// import { isDetoxSync } from 'react-native-is-detox';
|
|
24
24
|
|
|
25
25
|
import Modal from 'react-native-modal';
|
|
26
26
|
|
|
@@ -163,8 +163,8 @@ export const Story = ({
|
|
|
163
163
|
const [showModal, setShowModal] = useState(false);
|
|
164
164
|
const [audioRate, setAudioRate] = useState(1);
|
|
165
165
|
const playbackState = usePlaybackState();
|
|
166
|
-
const isDetox = isDetoxSync();
|
|
167
|
-
const progress = useProgress(
|
|
166
|
+
// const isDetox = isDetoxSync();
|
|
167
|
+
const progress = useProgress(2000);
|
|
168
168
|
const [isFinishedPlaying, setFinishedPlaying] = useState(false);
|
|
169
169
|
|
|
170
170
|
|