Updated launch mode
This commit is contained in:
@@ -144,15 +144,19 @@ class _SettingsViewState extends State<SettingsView> {
|
|||||||
CustomFormRow(
|
CustomFormRow(
|
||||||
prefixText: AppLocalizations.of(context).create_issue,
|
prefixText: AppLocalizations.of(context).create_issue,
|
||||||
prefixIcon: FontAwesomeIcons.github,
|
prefixIcon: FontAwesomeIcons.github,
|
||||||
onPressed: () => launchUrl(Uri.parse(
|
onPressed: () => launchUrl(
|
||||||
'https://github.com/flixcoo/Cabo-Counter/issues')),
|
Uri.parse(
|
||||||
|
'https://github.com/flixcoo/Cabo-Counter/issues'),
|
||||||
|
mode: LaunchMode.externalApplication),
|
||||||
suffixWidget: const CupertinoListTileChevron(),
|
suffixWidget: const CupertinoListTileChevron(),
|
||||||
),
|
),
|
||||||
CustomFormRow(
|
CustomFormRow(
|
||||||
prefixText: AppLocalizations.of(context).wiki,
|
prefixText: AppLocalizations.of(context).wiki,
|
||||||
prefixIcon: CupertinoIcons.book,
|
prefixIcon: CupertinoIcons.book,
|
||||||
onPressed: () => launchUrl(Uri.parse(
|
onPressed: () => launchUrl(
|
||||||
'https://github.com/flixcoo/Cabo-Counter/wiki')),
|
Uri.parse(
|
||||||
|
'https://github.com/flixcoo/Cabo-Counter/wiki'),
|
||||||
|
mode: LaunchMode.externalApplication),
|
||||||
suffixWidget: const CupertinoListTileChevron(),
|
suffixWidget: const CupertinoListTileChevron(),
|
||||||
),
|
),
|
||||||
CustomFormRow(
|
CustomFormRow(
|
||||||
|
|||||||
Reference in New Issue
Block a user