settings: Move Welcome Tour to Help.

This commit is contained in:
Laurens Valk
2022-12-02 09:20:08 +01:00
committed by laurensvalk
parent 4c09c5470f
commit 545cf786af
+9 -9
View File
@@ -116,6 +116,15 @@ const Settings: React.VoidFunctionComponent = () => {
</FormGroup>
<FormGroup label={i18n.translate('help.title')}>
<ButtonGroup minimal={true} vertical={true} alignText="left">
<Button
id="pb-settings-tour-button"
label={i18n.translate('app.tour.label')}
icon="info-sign"
onPress={() => {
dispatch(tourStart());
return true;
}}
/>
<AnchorButton
icon="lightbulb"
href={pybricksProjectsUrl}
@@ -184,15 +193,6 @@ const Settings: React.VoidFunctionComponent = () => {
return true;
}}
/>
<Button
id="pb-settings-tour-button"
label={i18n.translate('app.tour.label')}
icon="info-sign"
onPress={() => {
dispatch(tourStart());
return true;
}}
/>
</ButtonGroup>
</FormGroup>
{process.env.NODE_ENV === 'development' && (