update message send type
This commit is contained in:
parent
2becf769c1
commit
aec2855db9
@ -140,7 +140,7 @@ namespace Bit.Core.Services
|
|||||||
public void LogOut(Action callback)
|
public void LogOut(Action callback)
|
||||||
{
|
{
|
||||||
callback.Invoke();
|
callback.Invoke();
|
||||||
_messagingService.Send("loggedOut");
|
_messagingService.Send<object>("loggedOut");
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<TwoFactorProvider> GetSupportedTwoFactorProviders()
|
public List<TwoFactorProvider> GetSupportedTwoFactorProviders()
|
||||||
@ -312,7 +312,7 @@ namespace Bit.Core.Services
|
|||||||
await _cryptoService.SetEncPrivateKeyAsync(tokenResponse.PrivateKey);
|
await _cryptoService.SetEncPrivateKeyAsync(tokenResponse.PrivateKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
_messagingService.Send("loggedIn");
|
_messagingService.Send<object>("loggedIn");
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -255,7 +255,7 @@ namespace Bit.Core.Services
|
|||||||
private void SyncStarted()
|
private void SyncStarted()
|
||||||
{
|
{
|
||||||
SyncInProgress = true;
|
SyncInProgress = true;
|
||||||
_messagingService.Send("syncStarted");
|
_messagingService.Send<object>("syncStarted");
|
||||||
}
|
}
|
||||||
|
|
||||||
private bool SyncCompleted(bool successfully)
|
private bool SyncCompleted(bool successfully)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user