Skip to content

Commit

Permalink
made minor changes to UI
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkisDev committed Nov 26, 2023
1 parent ded1a0f commit ed09367
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions lib/app/modules/About/views/about_view.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ class AboutView extends GetView<AboutController> {
return Scaffold(
appBar: AppBar(
title: Text('About'),
elevation: 0,
centerTitle: true,
),
body: Center(
child: Column(
Expand Down Expand Up @@ -62,11 +64,14 @@ class AboutView extends GetView<AboutController> {
style: ElevatedButton.styleFrom(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10),
), backgroundColor: Colors.white,
),
backgroundColor: Colors.white,
),
onPressed: () async {
if (!await aboutController.launchUrl(Uri.parse(AboutController.githubUrl))) {
throw Exception('Could not launch ${AboutController.githubUrl}');
if (!await aboutController
.launchUrl(Uri.parse(AboutController.githubUrl))) {
throw Exception(
'Could not launch ${AboutController.githubUrl}');
}
},
icon: SvgPicture.asset(
Expand All @@ -91,11 +96,14 @@ class AboutView extends GetView<AboutController> {
style: ElevatedButton.styleFrom(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(10),
), backgroundColor: Colors.white,
),
backgroundColor: Colors.white,
),
onPressed: () async {
if (!await aboutController.launchUrl(Uri.parse(AboutController.ccExtractorUrl))) {
throw Exception('Could not launch ${AboutController.ccExtractorUrl}');
if (!await aboutController.launchUrl(
Uri.parse(AboutController.ccExtractorUrl))) {
throw Exception(
'Could not launch ${AboutController.ccExtractorUrl}');
}
},
icon: SvgPicture.asset(
Expand Down

0 comments on commit ed09367

Please sign in to comment.