Add curly braces
This commit is contained in:
parent
d8cb2a64b1
commit
852602430c
1 changed files with 4 additions and 2 deletions
|
@ -88,8 +88,9 @@ class _AboutUsBodyState extends State<AboutUsBody> {
|
||||||
),
|
),
|
||||||
onPressed: () async {
|
onPressed: () async {
|
||||||
if (!await launchUrl(
|
if (!await launchUrl(
|
||||||
Uri.parse('mailto:nekoya@chocola.dev')))
|
Uri.parse('mailto:nekoya@chocola.dev'))) {
|
||||||
throw 'Could not launch';
|
throw 'Could not launch';
|
||||||
|
}
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -98,8 +99,9 @@ class _AboutUsBodyState extends State<AboutUsBody> {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
child: GestureDetector(
|
child: GestureDetector(
|
||||||
onTap: () async {
|
onTap: () async {
|
||||||
if (!await launchUrl(Uri.parse('https://nekoya.moe.team')))
|
if (!await launchUrl(Uri.parse('https://nekoya.moe.team'))) {
|
||||||
throw 'Could not launch';
|
throw 'Could not launch';
|
||||||
|
}
|
||||||
},
|
},
|
||||||
child: const Text(
|
child: const Text(
|
||||||
'© 2021-2022 Nekoya Co. Ltd.',
|
'© 2021-2022 Nekoya Co. Ltd.',
|
||||||
|
|
Loading…
Reference in a new issue