1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-07 19:13:19 +00:00

Import-link routes to import page after login (#2939)

Co-authored-by: Daniel James Smith <djsmith85@users.noreply.github.com>
This commit is contained in:
Daniel James Smith
2024-01-16 16:02:06 +01:00
committed by GitHub
parent 6b7c6eac71
commit d6c139cb8a
2 changed files with 8 additions and 3 deletions

View File

@@ -40,11 +40,11 @@ namespace Bit.App.Pages
private async Task GoToImportItemsAsync()
{
var webVaultUrl = _environmentService.GetWebVaultUrl() + "/#/tools/import";
var body = string.Format(AppResources.YouCanImportDataToYourVaultOnX, webVaultUrl);
var toolsImportUrl = string.Format(ExternalLinksConstants.WEB_VAULT_TOOLS_IMPORT_FORMAT, _environmentService.GetWebVaultUrl());
var body = string.Format(AppResources.YouCanImportDataToYourVaultOnX, toolsImportUrl);
if (await _platformUtilsService.ShowDialogAsync(body, AppResources.ContinueToWebApp, AppResources.Continue, AppResources.Cancel))
{
_platformUtilsService.LaunchUri(webVaultUrl);
_platformUtilsService.LaunchUri(toolsImportUrl);
}
}
}