update message send type

This commit is contained in:
Kyle Spearrin 2019-04-18 14:30:38 -04:00
parent 2becf769c1
commit aec2855db9
2 changed files with 3 additions and 3 deletions

View File

@ -140,7 +140,7 @@ namespace Bit.Core.Services
public void LogOut(Action callback)
{
callback.Invoke();
_messagingService.Send("loggedOut");
_messagingService.Send<object>("loggedOut");
}
public List<TwoFactorProvider> GetSupportedTwoFactorProviders()
@ -312,7 +312,7 @@ namespace Bit.Core.Services
await _cryptoService.SetEncPrivateKeyAsync(tokenResponse.PrivateKey);
}
_messagingService.Send("loggedIn");
_messagingService.Send<object>("loggedIn");
return result;
}

View File

@ -255,7 +255,7 @@ namespace Bit.Core.Services
private void SyncStarted()
{
SyncInProgress = true;
_messagingService.Send("syncStarted");
_messagingService.Send<object>("syncStarted");
}
private bool SyncCompleted(bool successfully)