Change disabled to off

This commit is contained in:
Hillel Coren 2022-02-08 09:54:40 +02:00
parent 23c1a67226
commit b7d041ba84
3 changed files with 3 additions and 3 deletions

View File

@ -101,7 +101,7 @@ abstract class CompanyGatewayEntity extends Object
static const TOKEN_BILLING_ALWAYS = 'always';
static const TOKEN_BILLING_OPT_IN = 'optin';
static const TOKEN_BILLING_OPT_OUT = 'optout';
static const TOKEN_BILLING_OFF = 'off';
static const TOKEN_BILLING_DISABLED = 'disabled';
@override
@memoized

View File

@ -230,7 +230,7 @@ class _CompanyGatewayEditState extends State<CompanyGatewayEdit>
CompanyGatewayEntity.TOKEN_BILLING_ALWAYS,
CompanyGatewayEntity.TOKEN_BILLING_OPT_OUT,
CompanyGatewayEntity.TOKEN_BILLING_OPT_IN,
CompanyGatewayEntity.TOKEN_BILLING_OFF
CompanyGatewayEntity.TOKEN_BILLING_DISABLED
]
.map((value) => DropdownMenuItem(
child: Text(localization.lookup(value)),

View File

@ -473,7 +473,7 @@ class _CompanyDetailsState extends State<CompanyDetails>
CompanyGatewayEntity.TOKEN_BILLING_ALWAYS,
CompanyGatewayEntity.TOKEN_BILLING_OPT_OUT,
CompanyGatewayEntity.TOKEN_BILLING_OPT_IN,
CompanyGatewayEntity.TOKEN_BILLING_OFF
CompanyGatewayEntity.TOKEN_BILLING_DISABLED
]
.map((value) => DropdownMenuItem(
child: Text(localization.lookup(value)),