Fix persistence of sendInfoDecided.
Don't log it as an event, event logging is probably disabled at this point anyway.
This commit is contained in:
parent
c4f60e325d
commit
1bd654621c
2
platform-darwin/External/Pearl
vendored
2
platform-darwin/External/Pearl
vendored
@ -1 +1 @@
|
|||||||
Subproject commit d4de9198ec8d5ded44d443093d0b56737f3581b3
|
Subproject commit 72de3d1b49b4a9c9cd86f865f7a1c3da18fbc582
|
@ -23,11 +23,11 @@
|
|||||||
@property(nonatomic, retain) NSNumber *sendInfo;
|
@property(nonatomic, retain) NSNumber *sendInfo;
|
||||||
@property(nonatomic, retain) NSNumber *sendInfoDecided;
|
@property(nonatomic, retain) NSNumber *sendInfoDecided;
|
||||||
@property(nonatomic, retain) NSNumber *notificationsDecided;
|
@property(nonatomic, retain) NSNumber *notificationsDecided;
|
||||||
|
|
||||||
@property(nonatomic, retain) NSNumber *rememberLogin;
|
@property(nonatomic, retain) NSNumber *rememberLogin;
|
||||||
@property(nonatomic, retain) NSNumber *hidePasswords;
|
@property(nonatomic, retain) NSNumber *hidePasswords;
|
||||||
|
@property(nonatomic, strong) NSNumber *siteAttacker;
|
||||||
|
|
||||||
@property(nonatomic, retain) NSNumber *checkInconsistency;
|
@property(nonatomic, retain) NSNumber *checkInconsistency;
|
||||||
|
|
||||||
@property(nonatomic, strong) NSNumber *siteAttacker;
|
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
@implementation MPConfig
|
@implementation MPConfig
|
||||||
|
|
||||||
@dynamic sendInfo, rememberLogin, checkInconsistency, hidePasswords, siteAttacker;
|
@dynamic sendInfo, sendInfoDecided, notificationsDecided, rememberLogin, hidePasswords, siteAttacker, checkInconsistency;
|
||||||
|
|
||||||
- (id)init {
|
- (id)init {
|
||||||
|
|
||||||
|
@ -61,11 +61,7 @@
|
|||||||
[alert addButtonWithTitle:@"Thanks!"];
|
[alert addButtonWithTitle:@"Thanks!"];
|
||||||
[alert addButtonWithTitle:@"Disable"];
|
[alert addButtonWithTitle:@"Disable"];
|
||||||
[alert beginSheetModalForWindow:self.window completionHandler:^(NSModalResponse returnCode) {
|
[alert beginSheetModalForWindow:self.window completionHandler:^(NSModalResponse returnCode) {
|
||||||
BOOL sendInfo = returnCode != NSAlertSecondButtonReturn;
|
[MPMacConfig get].sendInfo = @(returnCode != NSAlertSecondButtonReturn);
|
||||||
[[Countly sharedInstance] recordEvent:@"sendInfoDecided" segmentation:@{
|
|
||||||
@"sendInfo": [@(sendInfo) description],
|
|
||||||
}];
|
|
||||||
[MPMacConfig get].sendInfo = @(sendInfo);
|
|
||||||
[MPMacConfig get].sendInfoDecided = @(YES);
|
[MPMacConfig get].sendInfoDecided = @(YES);
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user