Skip to content

Commit

Permalink
setVolume(val, config)
Browse files Browse the repository at this point in the history
  • Loading branch information
c19354837 committed Feb 23, 2018
1 parent 4a2d596 commit ea8833b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion examples/SystemSettingExample/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,11 @@ export default class SystemSettingExample extends Component {
}

_changeVol(value){
SystemSetting.setVolume(value, this.state.volType)
SystemSetting.setVolume(value, {
type: this.state.volType,
playSound: false,
showUI: false
})
this.setState({
volume: value
})
Expand Down

0 comments on commit ea8833b

Please sign in to comment.