Skip to content

Commit

Permalink
fix: app store link
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-i committed May 18, 2024
1 parent b1690a3 commit 6b297c8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/lib/views/screens/chat_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,8 @@ class ChatScreenState extends State<ChatScreen> {
List<Widget> _buildLinkItems(BuildContext context) {
final links = [
{
'title': 'TestFlight',
'url': 'https://testflight.apple.com/join/kriNj2gR'
'title': 'App Store',
'url': 'https://apps.apple.com/us/app/glowby-genius/id6446417094'
},
{'title': 'Glowby GPT', 'url': 'https://glowbom.com/glowby/gpt'},
{
Expand Down Expand Up @@ -580,15 +580,15 @@ class ChatScreenState extends State<ChatScreen> {
child: ElevatedButton(
onPressed: () async {
String url =
'https://testflight.apple.com/join/kriNj2gR';
'https://apps.apple.com/us/app/glowby-genius/id6446417094';
if (await canLaunchUrlString(url)) {
await launchUrlString(url);
} else {
throw 'Could not launch $url';
}
},
child: const Text(
'TestFlight',
'App Store',
style: TextStyle(color: Colors.white),
),
),
Expand Down

0 comments on commit 6b297c8

Please sign in to comment.