mirror of
https://github.com/bitwarden/android.git
synced 2024-12-25 18:38:27 +03:00
update message send type
This commit is contained in:
parent
2becf769c1
commit
aec2855db9
2 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue