Browse Source

Better feedback.

v1.4.1
Abhishek Banthia 8 years ago
parent
commit
77a03b7955
  1. BIN
      Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate
  2. 4
      Clocker/CLParentPanelController.m
  3. 4
      Clocker/Custom Table Cell Views/CLTimezoneCellView.m

BIN
Clocker.xcodeproj/project.xcworkspace/xcuserdata/abhishekbanthia.xcuserdatad/UserInterfaceState.xcuserstate generated

Binary file not shown.

4
Clocker/CLParentPanelController.m

@ -285,8 +285,10 @@ typedef NS_ENUM(NSUInteger, CLClockerMode) {
}
else
{
NSString *countryCode = [[NSLocale currentLocale] objectForKey: NSLocaleCountryCode];
[self updateReviewView];
[[iRate sharedInstance] remindLater];
[Answers logCustomEventWithName:@"Remind Later for Feedback" customAttributes:@{@"Current Country" : countryCode}];
}
}
@ -309,8 +311,10 @@ typedef NS_ENUM(NSUInteger, CLClockerMode) {
}
else
{
NSString *countryCode = [[NSLocale currentLocale] objectForKey: NSLocaleCountryCode];
[[iRate sharedInstance] rate];
[self updateReviewView];
[Answers logCustomEventWithName:@"Reached App Store for leaving Review" customAttributes:@{@"Current Country" : countryCode}];
}
}

4
Clocker/Custom Table Cell Views/CLTimezoneCellView.m

@ -11,6 +11,7 @@
#import "CommonStrings.h"
#import "CLTimezoneData.h"
#import "CLFloatingWindowController.h"
#import <Crashlytics/Crashlytics.h>
#define MIN_FONT_SIZE 13
@ -47,6 +48,7 @@
NSString *customLabelValue = [originalValue stringByTrimmingCharactersInSet:
[NSCharacterSet whitespaceCharacterSet]];
if ([sender.superview isKindOfClass:[self class]])
{
CLTimezoneCellView *cellView = (CLTimezoneCellView *)sender.superview;
@ -67,6 +69,8 @@
NSData *dataObject = displayMode.integerValue == 0 ? panelController.defaultPreferences[cellView.rowNumber] : floatingWindow.defaultPreferences[cellView.rowNumber];
CLTimezoneData *timezoneObject = [CLTimezoneData getCustomObject:dataObject];
[Answers logCustomEventWithName:@"Custom Label Changed" customAttributes:@{@"Old Label" : timezoneObject.customLabel , @"New Label" : customLabelValue}];
if (displayMode.integerValue == 0)
{

Loading…
Cancel
Save