mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 18:12:44 +02:00
Revert "Replace DesignKit with package from ElementX."
This reverts the following commits: ef5365ab240a1449e0490d2eb011dd69f594e27b 545b641e53a845b722f571b48ab408000048714b 702b7a696dd1a8319d6af907d4766a035cf30234 2398c1534dd1ca5b6329c888c50f55fb1b0ec23f
This commit is contained in:
@@ -31,7 +31,7 @@ class EffectsScene: SCNScene {
|
||||
static func confetti(with theme: ThemeSwiftUI) -> EffectsScene? {
|
||||
guard let scene = EffectsScene(named: Constants.confettiSceneName) else { return nil }
|
||||
|
||||
let colors: [[Float]] = theme.colors.contentAndAvatars.compactMap { $0.floatComponents }
|
||||
let colors: [[Float]] = theme.colors.namesAndAvatars.compactMap { $0.floatComponents }
|
||||
|
||||
if let particles = scene.rootNode.childNode(withName: Constants.particlesNodeName, recursively: false)?.particleSystems?.first {
|
||||
// The particles need a non-zero color variation for the handler to affect the color
|
||||
|
||||
Reference in New Issue
Block a user