Setting to choose release channel

Summary: Add possibility to choose release channel in Flipper Settings

Reviewed By: passy

Differential Revision: D25300775

fbshipit-source-id: 55fc86f0e12b9f3a4603bb40b038f5c0e5f30b3b
This commit is contained in:
Anton Nikolaev
2020-12-03 07:21:19 -08:00
committed by Facebook GitHub Bot
parent dd7c2ab96d
commit a7573139a2
6 changed files with 45 additions and 7 deletions

View File

@@ -233,6 +233,15 @@ class SettingsSheet extends Component<Props, State> {
},
});
}}
releaseChannel={this.state.updatedLauncherSettings.releaseChannel}
onReleaseChannelChange={(v) => {
this.setState({
updatedLauncherSettings: {
...this.state.updatedLauncherSettings,
releaseChannel: v,
},
});
}}
/>
<SandySettingsPanel
toggled={this.state.updatedSettings.disableSandy}