1
0
mirror of https://github.com/bitwarden/mobile synced 2026-01-04 09:33:16 +00:00

Fixed potential broadcast leak & policy value parsing (#756)

This commit is contained in:
Matt Portune
2020-03-05 12:44:01 -05:00
committed by GitHub
parent b9c134654f
commit b65b01fe3d
2 changed files with 45 additions and 21 deletions

View File

@@ -24,7 +24,7 @@ namespace Bit.App.Pages
{
base.OnAppearing();
await _vm.InitAsync();
_broadcasterService.Subscribe(nameof(AttachmentsPage), (message) =>
_broadcasterService.Subscribe(nameof(ExportVaultPage), (message) =>
{
if(message.Command == "selectSaveFileResult")
{
@@ -45,6 +45,7 @@ namespace Bit.App.Pages
protected async override void OnDisappearing()
{
base.OnDisappearing();
_broadcasterService.Unsubscribe(nameof(ExportVaultPage));
}
public Entry MasterPasswordEntry { get; set; }