mirror of
https://github.com/bitwarden/mobile.git
synced 2024-12-26 16:57:59 +01:00
assign new messageCallback when subbing
This commit is contained in:
parent
c2108fdda0
commit
d73bf6d225
@ -36,11 +36,14 @@ namespace Bit.App.Services
|
||||
{
|
||||
if(_subscribers.ContainsKey(id))
|
||||
{
|
||||
return;
|
||||
_subscribers[id] = messageCallback;
|
||||
}
|
||||
else
|
||||
{
|
||||
_subscribers.Add(id, messageCallback);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void Unsubscribe(string id)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user