Skip to content

Commit

Permalink
use the correct Rate App link for each build
Browse files Browse the repository at this point in the history
  • Loading branch information
lissine0 authored and tmolitor-stud-tu committed Aug 22, 2024
1 parent dd2e7a5 commit 0a8783c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Monal/Classes/MLSettingsTableViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,11 @@ -(UITableViewCell*) tableView:(UITableView*) tableView cellForRowAtIndexPath:(NS
case kSettingSectionAbout: {
switch(indexPath.row) {
case RateMonalRow: {
#ifdef IS_QUICKSY
[cell initTapCell:NSLocalizedString(@"Rate Quicksy", @"")];
#else
[cell initTapCell:NSLocalizedString(@"Rate Monal", @"")];
#endif
break;
}
case OpenSourceRow: {
Expand Down Expand Up @@ -412,7 +416,13 @@ -(void)tableView:(UITableView*) tableView didSelectRowAtIndexPath:(NSIndexPath*)
case kSettingSectionAbout: {
switch(indexPath.row) {
case RateMonalRow:
#if TARGET_OS_MACCATALYST
[self openStoreProductViewControllerWithITunesItemIdentifier:1637078500];
#elif defined(IS_QUICKSY)
[self openStoreProductViewControllerWithITunesItemIdentifier:6538727270];
#else
[self openStoreProductViewControllerWithITunesItemIdentifier:317711500];
#endif
break;
case OpenSourceRow:
[self performSegueWithIdentifier:@"showOpenSource" sender:self];
Expand Down

0 comments on commit 0a8783c

Please sign in to comment.