- added volume functionality for NPED notifications
This commit is contained in:
@@ -20,6 +20,7 @@ const SoundContextProvider = ({ children }: SoundContextProviderProps) => {
|
||||
operation: "VIEW",
|
||||
path: "soundSettings",
|
||||
});
|
||||
console.log(result.result);
|
||||
dispatch({ type: "UPDATE", payload: result.result });
|
||||
};
|
||||
fetchSound();
|
||||
|
||||
@@ -29,6 +29,8 @@ export function reducer(state: SoundState, action: SoundAction): SoundState {
|
||||
name: hotlist.name,
|
||||
sound: hotlist.sound,
|
||||
})),
|
||||
NPEDsoundVolume: action.payload.NPEDsoundVolume,
|
||||
sightingVolume: action.payload.sightingVolume,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user