mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-22 15:04:50 +01:00
FIX: Pointless to run code if Analytics are disabled
This commit is contained in:
parent
986167329c
commit
cdb754ea32
1 changed files with 4 additions and 5 deletions
|
@ -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…
Add table
Reference in a new issue