remove advanced from add
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
Scott E. Graves 2025-03-22 07:38:16 -05:00
parent 58841986f3
commit c52c919607

View File

@ -28,7 +28,6 @@ class _AddMountScreenState extends State<AddMountScreen> {
"S3": createDefaultSettings("S3"),
"Sia": createDefaultSettings("Sia"),
};
bool _showAdvanced = false;
@override
Widget build(BuildContext context) {
@ -37,20 +36,6 @@ class _AddMountScreenState extends State<AddMountScreen> {
backgroundColor: Theme.of(context).colorScheme.inversePrimary,
title: Text(widget.title),
actions: [
Row(
children: [
Row(
children: [
const Text("Advanced"),
IconButton(
icon: Icon(
_showAdvanced ? Icons.toggle_on : Icons.toggle_off,
),
onPressed:
() => setState(() => _showAdvanced = !_showAdvanced),
),
],
),
Consumer<Auth>(
builder: (context, auth, _) {
return IconButton(
@ -61,8 +46,6 @@ class _AddMountScreenState extends State<AddMountScreen> {
),
],
),
],
),
body: Padding(
padding: const EdgeInsets.all(constants.padding),
child: Consumer<Auth>(
@ -141,7 +124,7 @@ class _AddMountScreenState extends State<AddMountScreen> {
isAdd: true,
mount: _mount!,
settings: _settings[_mountType]!,
showAdvanced: _showAdvanced,
showAdvanced: false,
),
),
),