Skip to content

Commit

Permalink
chore(frontend): update iOS lifecycle events display name
Browse files Browse the repository at this point in the history
closes #1751
  • Loading branch information
anupcowkur committed Jan 22, 2025
1 parent 0e65875 commit 7c4c9d0
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,14 @@ export default function SessionReplayEventCell({
return 'Fragment ' + formatToCamelCase(eventDetails.type) + ': ' + name
}

if (eventType === "lifecycle_view_controller") {
return eventDetails.class_name + ': ' + eventDetails.type
}

if (eventType === "lifecycle_swift_ui") {
return eventDetails.class_name + ': ' + eventDetails.type
}

if (eventType === "lifecycle_app") {
return 'App ' + formatToCamelCase(eventDetails.type)
}
Expand Down

0 comments on commit 7c4c9d0

Please sign in to comment.