mirror of
https://github.com/bitwarden/mobile
synced 2025-12-15 07:43:37 +00:00
assign new messageCallback when subbing
This commit is contained in:
@@ -36,9 +36,12 @@ namespace Bit.App.Services
|
|||||||
{
|
{
|
||||||
if(_subscribers.ContainsKey(id))
|
if(_subscribers.ContainsKey(id))
|
||||||
{
|
{
|
||||||
return;
|
_subscribers[id] = messageCallback;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
_subscribers.Add(id, messageCallback);
|
||||||
}
|
}
|
||||||
_subscribers.Add(id, messageCallback);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user