replace row + sizedbox with padding
This commit is contained in:
parent
b82622190f
commit
acbf2089e0
|
@ -90,12 +90,9 @@ class HomeTab extends HookWidget {
|
|||
VisualDensity(vertical: VisualDensity.minimumDensity),
|
||||
leading: (instancesIcons.hasData &&
|
||||
instancesIcons.data[instance] != null)
|
||||
? Row(
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
SizedBox(width: 20),
|
||||
SizedBox(
|
||||
? Padding(
|
||||
padding: const EdgeInsets.only(left: 20),
|
||||
child: SizedBox(
|
||||
width: 25,
|
||||
height: 25,
|
||||
child: CachedNetworkImage(
|
||||
|
@ -104,7 +101,6 @@ class HomeTab extends HookWidget {
|
|||
width: 25,
|
||||
),
|
||||
),
|
||||
],
|
||||
)
|
||||
: SizedBox(width: 30),
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue