Skip to content

Commit

Permalink
build: 🔖 bump the version to 1.0.3+4
Browse files Browse the repository at this point in the history
  • Loading branch information
moazelsawaf committed Mar 27, 2023
1 parent 27fdff8 commit 8365cf8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
14 changes: 4 additions & 10 deletions lib/ui/widgets/credits.dart
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:url_launcher/url_launcher.dart';

import '../../utils/colors_palette.dart';
import '../../utils/constants.dart';
import '../../utils/helpers.dart';

class Credits extends StatelessWidget {
final Color color;
Expand Down Expand Up @@ -33,7 +33,7 @@ class Credits extends StatelessWidget {
decorationColor: linkColor,
),
recognizer: TapGestureRecognizer()
..onTap = () => _openUrl(Constants.flutterWebsiteUrl),
..onTap = () => Helpers.openUrl(Constants.flutterWebsiteUrl),
),
const TextSpan(text: ' & 💙 by '),
TextSpan(
Expand All @@ -44,7 +44,7 @@ class Credits extends StatelessWidget {
decorationColor: linkColor,
),
recognizer: TapGestureRecognizer()
..onTap = () => _openUrl(Constants.authorGitHubUrl),
..onTap = () => Helpers.openUrl(Constants.authorGitHubUrl),
),
],
style: TextStyle(
Expand All @@ -56,7 +56,7 @@ class Credits extends StatelessWidget {
),
const SizedBox(height: 6),
Text(
'V 1.0.2 - Copyright © 2023 All Rights Reserved',
'V 1.0.3 - Copyright © 2023 All Rights Reserved',
style: TextStyle(
color: color,
fontSize: 12,
Expand All @@ -66,10 +66,4 @@ class Credits extends StatelessWidget {
],
);
}

void _openUrl(String url) async {
try {
await launchUrl(Uri.parse(url));
} catch (_) {}
}
}
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Made with Flutter is an open source tool that lets you know if an A

publish_to: "none"

version: 1.0.2+3
version: 1.0.3+4

environment:
sdk: ">=2.19.3 <3.0.0"
Expand Down

0 comments on commit 8365cf8

Please sign in to comment.