Skip to content

Commit

Permalink
feat:Fixed Rating Link on Apple Store goes to Android #1172
Browse files Browse the repository at this point in the history
  • Loading branch information
samruddhi-Rahegaonkar authored and adityastic committed Mar 2, 2025
1 parent a0dfb17 commit 7c9aba2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/view/widgets/navigation_drawer.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'package:badgemagic/constants.dart';
import 'package:flutter/material.dart';
import 'package:share_plus/share_plus.dart';
import 'dart:io';

class BMDrawer extends StatefulWidget {
final int selectedIndex;
Expand Down Expand Up @@ -118,8 +119,9 @@ class _BMDrawerState extends State<BMDrawer> {
icon: Icons.star,
title: 'Rate Us',
routeName: '/rateUs',
externalLink:
'https://play.google.com/store/apps/details?id=org.fossasia.badgemagic',
externalLink: Platform.isIOS
? 'https://apps.apple.com/us/app/badge-magic/id6740176888?action=write-review'
: 'https://play.google.com/store/apps/details?id=org.fossasia.badgemagic',
),
_buildListTile(
index: 9,
Expand Down

0 comments on commit 7c9aba2

Please sign in to comment.