mirror of
https://github.com/bitwarden/android.git
synced 2024-10-31 23:25:45 +03:00
Use BaseUrl when opening web vault if defined (#360)
This commit is contained in:
parent
d49e001b21
commit
cc58f7730e
1 changed files with 9 additions and 1 deletions
|
@ -158,8 +158,16 @@ namespace Bit.App.Pages
|
|||
private void WebCell_Tapped(object sender, EventArgs e)
|
||||
{
|
||||
_googleAnalyticsService.TrackAppEvent("OpenedTool", "Web");
|
||||
var appSettings = Resolver.Resolve<IAppSettingsService>();
|
||||
if (!string.IsNullOrWhiteSpace(appSettings.BaseUrl))
|
||||
{
|
||||
Device.OpenUri(new Uri(appSettings.BaseUrl));
|
||||
}
|
||||
else
|
||||
{
|
||||
Device.OpenUri(new Uri("https://vault.bitwarden.com"));
|
||||
}
|
||||
}
|
||||
|
||||
private void ShareCell_Tapped(object sender, EventArgs e)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue