mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Update files following swiftformat upgrade
This commit is contained in:
committed by
Stefan Ceriu
parent
fe189fcfed
commit
23062901c0
@@ -30,7 +30,9 @@ class PostHogAnalyticsClient: AnalyticsClientProtocol {
|
||||
/// Not persisted for now, should be set on start.
|
||||
private var superProperties: AnalyticsEvent.SuperProperties?
|
||||
|
||||
var isRunning: Bool { postHog != nil }
|
||||
var isRunning: Bool {
|
||||
postHog != nil
|
||||
}
|
||||
|
||||
func start(analyticsConfiguration: AnalyticsConfiguration) {
|
||||
// Only start if analytics have been configured in BuildSettings
|
||||
|
||||
@@ -36,9 +36,9 @@ class Signposter {
|
||||
|
||||
private var appStartupTransaction: Span?
|
||||
|
||||
// We have a manual start method because we need to configure the ServiceLocator *before* we configure
|
||||
// Sentry but this class is created in the AnalyticsService and so spans and transactions are dropped
|
||||
// until Sentry has been configured. Therefore doing this in the init doesn't work.
|
||||
/// We have a manual start method because we need to configure the ServiceLocator *before* we configure
|
||||
/// Sentry but this class is created in the AnalyticsService and so spans and transactions are dropped
|
||||
/// until Sentry has been configured. Therefore doing this in the init doesn't work.
|
||||
func start() {
|
||||
appStartupTransaction = SentrySDK.startTransaction(name: Name.appStartup, operation: Name.appStarted)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user