Toggle Local File Saves
Enables or disables local file saving.
Syntax
store.dispatch({ type: "trackData/SET_LOCAL_FILE", payload: saveToFile });
Parameters
saveToFile
A boolean indicating whether the current track should save to a local file.
Examples
Allows the current track to save to a local file.
store.dispatch({
type: "trackData/SET_LOCAL_FILE",
payload: true
});