1
0
mirror of https://github.com/bitwarden/mobile.git synced 2024-12-22 16:18:21 +01:00

reset badge count when activated

This commit is contained in:
Kyle Spearrin 2016-07-23 15:09:00 -04:00
parent 0a2bc7f053
commit 3b7ade30a8

View File

@ -149,6 +149,8 @@ namespace Bit.iOS
base.OnActivated(uiApplication);
Debug.WriteLine("OnActivated");
UIApplication.SharedApplication.ApplicationIconBadgeNumber = 0;
var view = UIApplication.SharedApplication.KeyWindow.ViewWithTag(4321);
if(view != null)
{