mise-a-jour-tags #6
@ -95,7 +95,7 @@ class AnalyticsGenerator {
|
||||
result.append("import MatomoTracker")
|
||||
}
|
||||
if targets.contains(Analytics.TargetType.firebase) {
|
||||
result.append("import Firebase")
|
||||
result.append("import FirebaseAnalytics")
|
||||
}
|
||||
|
||||
return result.joined(separator: "\n")
|
||||
|
@ -103,10 +103,12 @@ class AnalyticsDefinition {
|
||||
\(params.joined(separator: ",\n\t\t\t\t"))
|
||||
]
|
||||
"""
|
||||
} else {
|
||||
} else if params.count == 1 {
|
||||
result = """
|
||||
[\(params.joined(separator: ", "))]
|
||||
"""
|
||||
} else {
|
||||
result = "[:]"
|
||||
}
|
||||
|
||||
if type == .screen {
|
||||
|
Loading…
x
Reference in New Issue
Block a user