This commit is contained in:
Hillel Coren 2019-11-10 23:28:08 +02:00
parent 485e05a859
commit 2918b96bb7
2 changed files with 6 additions and 6 deletions

View File

@ -58,6 +58,7 @@ class CompanyGatewayListItem extends StatelessWidget {
? () => onEntityAction(EntityAction.toggleMultiselect) ? () => onEntityAction(EntityAction.toggleMultiselect)
: onTap, : onTap,
onLongPress: onLongPress, onLongPress: onLongPress,
//trailing: ,
leading: showCheckbox leading: showCheckbox
? IgnorePointer( ? IgnorePointer(
ignoring: listUIState.isInMultiselect(), ignoring: listUIState.isInMultiselect(),
@ -68,7 +69,7 @@ class CompanyGatewayListItem extends StatelessWidget {
activeColor: Theme.of(context).accentColor, activeColor: Theme.of(context).accentColor,
), ),
) )
: null, : Icon(Icons.drag_handle),
title: Container( title: Container(
width: MediaQuery.of(context).size.width, width: MediaQuery.of(context).size.width,
child: Row( child: Row(

View File

@ -72,11 +72,10 @@ class SettingsList extends StatelessWidget {
section: kSettingsLocalization, section: kSettingsLocalization,
viewModel: viewModel, viewModel: viewModel,
), ),
if (showAll) SettingsListTile(
SettingsListTile( section: kSettingsOnlinePayments,
section: kSettingsOnlinePayments, viewModel: viewModel,
viewModel: viewModel, ),
),
if (showAll) if (showAll)
SettingsListTile( SettingsListTile(
section: kSettingsTaxSettings, section: kSettingsTaxSettings,