Code refactor
This commit is contained in:
parent
078345d4a6
commit
e084a1a31b
|
|
@ -76,9 +76,11 @@ const String kDocsEmailVariablesUrl =
|
|||
'$kDocsUrl/email-customization/#payment-email-customization';
|
||||
const String kDocsStripeConnectUrl = '$kDocsUrl/hosted-stripe';
|
||||
|
||||
const String kPHPDateFormatsUrl =
|
||||
'https://www.php.net/manual/en/datetime.format.php#refsect1-datetime.format-parameters';
|
||||
const String kForumUrl = 'https://forum.invoiceninja.com';
|
||||
const String kApiDocsURL = 'https://api-docs.invoicing.co';
|
||||
const String kZapierURL = 'https://zapier.com/apps/invoice-ninja';
|
||||
const String kApiDocsUrl = 'https://api-docs.invoicing.co';
|
||||
const String kZapierUrl = 'https://zapier.com/apps/invoice-ninja';
|
||||
const String kGatewayFeeHelpURL =
|
||||
'https://support.stripe.com/questions/passing-the-stripe-fee-on-to-customers';
|
||||
|
||||
|
|
|
|||
|
|
@ -561,7 +561,7 @@ class _AccountOverview extends StatelessWidget {
|
|||
child: AppButton(
|
||||
label: localization.apiDocs.toUpperCase(),
|
||||
iconData: isMobile(context) ? null : MdiIcons.bookshelf,
|
||||
onPressed: () => launchUrl(Uri.parse(kApiDocsURL)),
|
||||
onPressed: () => launchUrl(Uri.parse(kApiDocsUrl)),
|
||||
),
|
||||
),
|
||||
SizedBox(width: kGutterWidth),
|
||||
|
|
@ -569,7 +569,7 @@ class _AccountOverview extends StatelessWidget {
|
|||
child: AppButton(
|
||||
label: 'Zapier',
|
||||
iconData: isMobile(context) ? null : MdiIcons.cloud,
|
||||
onPressed: () => launchUrl(Uri.parse(kZapierURL)),
|
||||
onPressed: () => launchUrl(Uri.parse(kZapierUrl)),
|
||||
),
|
||||
),
|
||||
])),
|
||||
|
|
|
|||
|
|
@ -561,8 +561,7 @@ class _EntityNumberSettingsState extends State<EntityNumberSettings> {
|
|||
padding: const EdgeInsets.symmetric(vertical: 10),
|
||||
child: Text(localization.viewDateFormats.toUpperCase()),
|
||||
),
|
||||
onPressed: () => launchUrl(Uri.parse(
|
||||
'https://www.php.net/manual/en/datetime.format.php#refsect1-datetime.format-parameters')),
|
||||
onPressed: () => launchUrl(Uri.parse(kPHPDateFormatsUrl)),
|
||||
),
|
||||
),
|
||||
HelpPanel(
|
||||
|
|
|
|||
Loading…
Reference in New Issue