[ui] Add auto-mount on first launch functionality #52
This commit is contained in:
@@ -165,7 +165,9 @@ class _MountWidgetState extends State<MountWidget>
|
|||||||
contentPadding: EdgeInsets.zero,
|
contentPadding: EdgeInsets.zero,
|
||||||
materialTapTargetSize:
|
materialTapTargetSize:
|
||||||
MaterialTapTargetSize.shrinkWrap,
|
MaterialTapTargetSize.shrinkWrap,
|
||||||
onChanged: (_) {},
|
onChanged: (_) async {
|
||||||
|
return mount.setMountAutoStart(!mount.autoStart);
|
||||||
|
},
|
||||||
title: Row(
|
title: Row(
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: const [
|
children: const [
|
||||||
|
Reference in New Issue
Block a user