refactor
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
Scott E. Graves 2025-03-05 20:38:15 -06:00
parent 6e42899dd3
commit 847bf68f85

View File

@ -144,8 +144,7 @@ class _MyHomePageState extends State<MyHomePage> {
floatingActionButton: FloatingActionButton(
onPressed:
_allowAdd
? () {
showDialog(
? () async => showDialog(
context: context,
builder: (context) {
return AlertDialog(
@ -198,8 +197,7 @@ class _MyHomePageState extends State<MyHomePage> {
],
);
},
);
}
)
: null,
tooltip: 'Add Mount',
child: const Icon(Icons.add),