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:
2
platform-darwin/External/Pearl
vendored
2
platform-darwin/External/Pearl
vendored
Submodule platform-darwin/External/Pearl updated: d4de9198ec...72de3d1b49
@@ -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);
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user