Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

ensu ios: fire outro trigger when streaming view appears

Prateek Sunalf5a81cf9611f
diff --git a/mobile/native/darwin/Apps/ensu/ensu/Components/EnsuBrandIllustration.swift b/mobile/native/darwin/Apps/ensu/ensu/Components/EnsuBrandIllustration.swift
index 1a16e5eaf6..4ede33b1ea 100644
--- a/mobile/native/darwin/Apps/ensu/ensu/Components/EnsuBrandIllustration.swift
+++ b/mobile/native/darwin/Apps/ensu/ensu/Components/EnsuBrandIllustration.swift
@@ -28,6 +28,13 @@ struct EnsuBrandIllustration: View {
} else {
riveViewModel.pause()
}
+
+ if outroTrigger {
+ riveViewModel.triggerInput(outroInputName)
+ lastOutroTrigger = true
+ } else {
+ lastOutroTrigger = false
+ }
}
.onChange(of: animated) { value in
if value {