mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Introduce a build setting to detect Nightly builds. (#5852)
* Allow the AppIconBanner tool to be called with purely the build number. And use that for the Element Pro Nightly. * Use a build setting to determine Nightly builds.
This commit is contained in:
@@ -88,7 +88,7 @@ class BugReportService: NSObject, BugReportServiceProtocol {
|
||||
|
||||
params.append(contentsOf: defaultParams)
|
||||
|
||||
if InfoPlistReader.main.baseBundleIdentifier == "io.element.elementx.nightly" {
|
||||
if AppBuildType.current == .nightly {
|
||||
bugReport.githubLabels.append("Nightly")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user