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:4858d72afb6827d2a85492c58743590a9bd1fbe6
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