Skip to content

Commit

Permalink
⚗️ (LekaApp): Add logScreenView to NewsView
Browse files Browse the repository at this point in the history
  • Loading branch information
macteuts committed Oct 31, 2024
1 parent e5e5a9c commit 8279759
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Apps/LekaApp/Sources/Views/MainView/NewsView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
// Copyright APF France handicap
// SPDX-License-Identifier: Apache-2.0

import AccountKit
import DesignKit
import LocalizationKit
import SwiftUI
Expand Down Expand Up @@ -42,11 +43,16 @@ struct NewsView: View {
.padding()
}
}
.onAppear {
AnalyticsManager.shared.logScreenView(screenName: "news_view")
}
}

// MARK: Private

@ObservedObject private var styleManager: StyleManager = .shared

private var analyticsManager: AnalyticsManager = .shared
}

// MARK: - l10n.NewsView
Expand Down

0 comments on commit 8279759

Please sign in to comment.