layout fixes
This commit is contained in:
parent
7607fe68e2
commit
c3dca76690
@ -62,10 +62,16 @@ class _MountWidgetState extends State<MountWidget> {
|
||||
style: TextStyle(color: textColor, fontWeight: FontWeight.bold),
|
||||
),
|
||||
trailing: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.end,
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
crossAxisAlignment: CrossAxisAlignment.start,
|
||||
children: [
|
||||
if (mount.mounted != null && !mount.mounted!)
|
||||
if (mount.path.isNotEmpty &&
|
||||
mount.mounted != null &&
|
||||
!mount.mounted!)
|
||||
IconButton(
|
||||
icon: Icon(Icons.clear),
|
||||
color: subTextColor,
|
||||
onPressed: () => mount.clearMountLocation(),
|
||||
),
|
||||
IconButton(
|
||||
|
Loading…
x
Reference in New Issue
Block a user