Skip to content

Commit

Permalink
AppStore -> App Rating
Browse files Browse the repository at this point in the history
  • Loading branch information
graeme committed Jan 26, 2024
1 parent ed75fff commit 0f43481
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Core/PixelEvent.swift
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ extension Pixel {

case compilationFailed

case appStorePromptFetchError
case appRatingPromptFetchError
}

}
Expand Down Expand Up @@ -1017,7 +1017,7 @@ extension Pixel.Event {
// MARK: - Return user measurement
case .debugReturnUserAddATB: return "m_debug_return_user_add_atb"
case .debugReturnUserUpdateATB: return "m_debug_return_user_update_atb"
case .appStorePromptFetchError: return "m_appstore_prompt_fetch_error"
case .appRatingPromptFetchError: return "m_app_rating_prompt_fetch_error"
}

}
Expand Down
2 changes: 1 addition & 1 deletion DuckDuckGo/AppRatingPrompt.swift
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class AppRatingPromptCoreDataStorage: AppRatingPromptStorage {
do {
results = try context.fetch(fetchRequest)
} catch {
DailyPixel.fireDailyAndCount(pixel: .appStorePromptFetchError, error: error)
DailyPixel.fireDailyAndCount(pixel: .appRatingPromptFetchError, error: error)
return nil
}

Expand Down

0 comments on commit 0f43481

Please sign in to comment.