mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 17:12:45 +02:00
Feature/5327 releaseprep
This commit is contained in:
@@ -159,7 +159,7 @@ final class PollEditFormCoordinator: Coordinator, Presentable {
|
||||
|
||||
// MARK: Bwi tracking
|
||||
private func log2Analytics(details: EditFormPollDetails, room: MXRoom) {
|
||||
BWIAnalyticsHelper.getRoomDeviceCount(room: room) { deviceCount in
|
||||
BWIAnalyticsHelper.shared.getRoomDeviceCount(room: room) { deviceCount in
|
||||
var eventName: String
|
||||
switch details.type {
|
||||
case .undisclosed:
|
||||
@@ -176,7 +176,7 @@ final class PollEditFormCoordinator: Coordinator, Presentable {
|
||||
}
|
||||
}
|
||||
|
||||
BWIAnalytics.sharedTracker.trackEventWithDimension(category: "Feature", action: "SendPoll", dimension: BWIAnalyticsHelper.dimensionForDeviceCount(deviceCount), value: NSNumber(value: details.answerOptions.count), name: eventName)
|
||||
BWIAnalytics.sharedTracker.trackEventWithDimension(category: "Feature", action: "SendPoll", dimension: BWIAnalyticsHelper.shared.dimensionForDeviceCount(deviceCount), value: NSNumber(value: details.answerOptions.count), name: eventName)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user