mirror of
https://github.com/bitwarden/mobile
synced 2025-12-13 14:53:18 +00:00
only init hockeyapp once
This commit is contained in:
@@ -18,6 +18,7 @@ namespace Bit.iOS.Extension
|
||||
public partial class LoadingViewController : ExtendedUIViewController
|
||||
{
|
||||
private Context _context = new Context();
|
||||
private bool _initedHockeyApp;
|
||||
|
||||
public LoadingViewController(IntPtr handle)
|
||||
: base(handle)
|
||||
@@ -379,7 +380,11 @@ namespace Bit.iOS.Extension
|
||||
}
|
||||
iOSCoreHelpers.RegisterLocalServices();
|
||||
ServiceContainer.Init();
|
||||
iOSCoreHelpers.RegisterHockeyApp();
|
||||
if(!_initedHockeyApp)
|
||||
{
|
||||
iOSCoreHelpers.RegisterHockeyApp();
|
||||
_initedHockeyApp = true;
|
||||
}
|
||||
iOSCoreHelpers.Bootstrap();
|
||||
iOSCoreHelpers.AppearanceAdjustments();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user