mirror of
https://github.com/bitwarden/mobile
synced 2025-12-18 09:13:15 +00:00
Changed link on Settings "Change Master Password" and "Two Step Login" to go to the web vault settings. Also refactored a bit to reuse the urls (#1809)
This commit is contained in:
committed by
GitHub
parent
9201da8515
commit
c74ed668b5
@@ -225,12 +225,7 @@ namespace Bit.App.Utilities
|
||||
private static string GetSendUrl(SendView send)
|
||||
{
|
||||
var environmentService = ServiceContainer.Resolve<IEnvironmentService>("environmentService");
|
||||
var webVaultUrl = environmentService.GetWebVaultUrl();
|
||||
if (webVaultUrl != null)
|
||||
{
|
||||
return webVaultUrl + "/#/send/" + send.AccessId + "/" + send.UrlB64Key;
|
||||
}
|
||||
return "https://send.bitwarden.com/#" + send.AccessId + "/" + send.UrlB64Key;
|
||||
return environmentService.GetWebSendUrl() + send.AccessId + "/" + send.UrlB64Key;
|
||||
}
|
||||
|
||||
public static async Task<bool> RemoveSendPasswordAsync(string sendId)
|
||||
|
||||
Reference in New Issue
Block a user