mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-01-19 05:45:15 +01:00
FIX: Pointless to run code if Analytics are disabled
This commit is contained in:
parent
986167329c
commit
cdb754ea32
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user