mise-a-jour-tags #6

Merged
l.perret merged 21 commits from mise-a-jour-tags into master 2023-12-13 10:46:10 +01:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit 3b90387e10 - Show all commits

View File

@ -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")

View File

@ -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 {