fix: router.replace() throws exception

This commit is contained in:
Adrian Castro
2024-02-18 13:04:36 +01:00
parent ec1300c6d6
commit 5f99e0cac4
2 changed files with 2 additions and 2 deletions

View File

@@ -44,7 +44,7 @@ export const SourceSelector = () => {
title={source.name}
onPress={() => {
off();
router.replace({
router.push({
pathname: "/videoPlayer/loading",
params: { sourceID: source.id, data: JSON.stringify(data) },
});