1
0
mirror of https://github.com/bitwarden/mobile synced 2025-12-10 13:23:39 +00:00

Share-to-Send for Android (#1343)

* Android implementation

* remove iOS attempt for now
This commit is contained in:
Matt Portune
2021-03-31 10:19:05 -04:00
committed by GitHub
parent ce0b8bc62d
commit d926565358
16 changed files with 203 additions and 38 deletions

View File

@@ -20,7 +20,7 @@ namespace Bit.App.Pages
};
Children.Add(_groupingsPage);
_sendGroupingsPage = new NavigationPage(new SendGroupingsPage(true))
_sendGroupingsPage = new NavigationPage(new SendGroupingsPage(true, null, null, appOptions))
{
Title = AppResources.Send,
IconImageSource = "paper_plane.png",
@@ -60,6 +60,10 @@ namespace Bit.App.Pages
{
appOptions.MyVaultTile = false;
}
else if (appOptions?.CreateSend != null)
{
ResetToSendPage();
}
}
public void ResetToVaultPage()
@@ -71,6 +75,11 @@ namespace Bit.App.Pages
{
CurrentPage = _generatorPage;
}
public void ResetToSendPage()
{
CurrentPage = _sendGroupingsPage;
}
protected async override void OnCurrentPageChanged()
{