mirror of
https://github.com/bitwarden/browser
synced 2025-12-06 00:13:28 +00:00
[PM-5300] Use deep linking for premium (#6432)
Resolves the get premium links not working in the browser extension. Replaces them with the deep links instead.
This commit is contained in:
@@ -197,7 +197,9 @@ export class AttachmentsComponent implements OnInit {
|
||||
});
|
||||
|
||||
if (confirmed) {
|
||||
this.platformUtilsService.launchUri("https://vault.bitwarden.com/#/?premium=purchase");
|
||||
this.platformUtilsService.launchUri(
|
||||
"https://vault.bitwarden.com/#/settings/subscription/premium",
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -50,7 +50,9 @@ export class PremiumComponent implements OnInit {
|
||||
});
|
||||
|
||||
if (confirmed) {
|
||||
this.platformUtilsService.launchUri(`${this.cloudWebVaultUrl}/#/?premium=purchase`);
|
||||
this.platformUtilsService.launchUri(
|
||||
`${this.cloudWebVaultUrl}/#/settings/subscription/premium`,
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -62,7 +64,9 @@ export class PremiumComponent implements OnInit {
|
||||
});
|
||||
|
||||
if (confirmed) {
|
||||
this.platformUtilsService.launchUri(`${this.cloudWebVaultUrl}/#/?premium=manage`);
|
||||
this.platformUtilsService.launchUri(
|
||||
`${this.cloudWebVaultUrl}/#/settings/subscription/premium`,
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user