diff --git a/screens/CameraScreen.js b/screens/CameraScreen.js index a2f4554..d9664cf 100644 --- a/screens/CameraScreen.js +++ b/screens/CameraScreen.js @@ -65,7 +65,7 @@ function SinglePlayerSection({type = 0, index = 0, onChange, onRemove, screenDev if (device) { return ( - + @@ -128,7 +128,7 @@ function PlayerScreen({navigation}) { const selectedDeviceList = await setSelectedCamera(state.activeAccount.id, type, index, null, state.selectedDeviceList); dispatch({type: 'update_selected_device_list', payload: selectedDeviceList}); - }, []); + }, [state.selectedDeviceList, state.activeAccount]); const screens = [ ['1', ],