FIX: Pointless to run code if Analytics are disabled

This commit is contained in:
Marcos Rodriguez Velez 2024-04-08 20:33:28 -04:00
parent 986167329c
commit cdb754ea32
No known key found for this signature in database
GPG Key ID: 6030B2F48CCE86D7

View File

@ -32,11 +32,7 @@ NSUserDefaults *group = [[NSUserDefaults alloc] initWithSuiteName:@"group.io.blu
[Bugsnag startWithConfiguration:config];
#else
[Bugsnag start];
#endif
}
[self copyDeviceUID];
[self copyDeviceUID];
[[NSUserDefaults standardUserDefaults] addObserver:self
forKeyPath:@"deviceUID"
@ -46,6 +42,9 @@ NSUserDefaults *group = [[NSUserDefaults alloc] initWithSuiteName:@"group.io.blu
forKeyPath:@"deviceUIDCopy"
options:NSKeyValueObservingOptionNew
context:NULL];
#endif
}
[self addSplashScreenView];
self.moduleName = @"BlueWallet";