mirror of
https://github.com/bitwarden/mobile.git
synced 2024-11-24 11:55:38 +01:00
Use BaseUrl when opening web vault if defined (#360)
This commit is contained in:
parent
d49e001b21
commit
cc58f7730e
@ -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 New Issue
Block a user