Skip to content

Commit

Permalink
[Fix] #213 - 미션 체크 해제 시 complete_uncheck_mission으로 변경
Browse files Browse the repository at this point in the history
[Fix] #213 - 미션 체크 해제 시 complete_uncheck_mission으로 변경
  • Loading branch information
yungu0010 authored Jan 8, 2024
2 parents e2ecfba + be177e8 commit f7eb506
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions iOS-NOTTODO/iOS-NOTTODO.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -1551,7 +1551,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 1.0.1;
PRODUCT_BUNDLE_IDENTIFIER = "nottodo.iOS-NOTTODO";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down Expand Up @@ -1589,7 +1589,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 1.0.0;
MARKETING_VERSION = 1.0.1;
PRODUCT_BUNDLE_IDENTIFIER = "nottodo.iOS-NOTTODO";
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,12 @@ final class HomeDataSource {
let status = result ? CompletionStatus.UNCHECKED : CompletionStatus.CHECKED
self.modalDelegate?.updateMissionStatus(id: id, status: status)

AmplitudeAnalyticsService.shared.send(event: AnalyticsEvent.Home.completeCheckMission(title: missionItem.title, situation: missionItem.situationName))
switch status {
case .CHECKED:
AmplitudeAnalyticsService.shared.send(event: AnalyticsEvent.Home.completeCheckMission(title: missionItem.title, situation: missionItem.situationName))
case .UNCHECKED:
AmplitudeAnalyticsService.shared.send(event: AnalyticsEvent.Home.completeUncheckMission(title: missionItem.title, situation: missionItem.situationName))
}
}
}
}
Expand Down

0 comments on commit f7eb506

Please sign in to comment.