mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-18 23:48:29 +02:00
Review: use optout for isrunning
This commit is contained in:
@@ -27,7 +27,7 @@ class PostHogAnalyticsClient: AnalyticsClientProtocol {
|
||||
|
||||
static let shared = PostHogAnalyticsClient()
|
||||
|
||||
var isRunning: Bool { postHog != nil }
|
||||
var isRunning: Bool { postHog != nil && !postHog!.isOptOut() }
|
||||
|
||||
func start() {
|
||||
// Only start if analytics have been configured in BuildSettings
|
||||
|
||||
Reference in New Issue
Block a user