settings: Move experiments to developer mode card
This commit is contained in:
parent
ff0c27a0c2
commit
e5193b83a1
|
@ -295,19 +295,6 @@ class _GameSettingsPageState extends State<GameSettingsPage> {
|
|||
],
|
||||
),
|
||||
SizedBox(height: AppTheme.sizedBoxHeight),
|
||||
Text(S.of(context).experiments, style: AppTheme.settingsHeaderStyle),
|
||||
SettingsCard(
|
||||
context: context,
|
||||
children: <Widget>[
|
||||
SettingsSwitchListTile(
|
||||
context: context,
|
||||
value: Config.experimentsEnabled,
|
||||
onChanged: setExperimentsEnabled,
|
||||
titleString: S.of(context).experiments,
|
||||
),
|
||||
],
|
||||
),
|
||||
SizedBox(height: AppTheme.sizedBoxHeight),
|
||||
Text(S.of(context).restore, style: AppTheme.settingsHeaderStyle),
|
||||
SettingsCard(
|
||||
context: context,
|
||||
|
@ -336,6 +323,13 @@ class _GameSettingsPageState extends State<GameSettingsPage> {
|
|||
titleString: S.of(context).developerMode,
|
||||
),
|
||||
ListItemDivider(),
|
||||
SettingsSwitchListTile(
|
||||
context: context,
|
||||
value: Config.experimentsEnabled,
|
||||
onChanged: setExperimentsEnabled,
|
||||
titleString: S.of(context).experiments,
|
||||
),
|
||||
ListItemDivider(),
|
||||
SettingsSwitchListTile(
|
||||
context: context,
|
||||
value: Config.isAutoRestart,
|
||||
|
|
Loading…
Reference in New Issue