mirror of
https://github.com/RSSNext/Folo.git
synced 2026-10-21 07:56:32 +08:00
d8f76c5f6a
- Deleted the GlowEffect view implementation to streamline the module. - Introduced IntelligenceAnimationController to manage animation presentation in a separate window. - Updated AppleIntelligenceGlowEffectModule to utilize new showIntelligenceEffect and hideIntelligenceEffect functions for better encapsulation of animation logic. - Added IntelligenceAnimationView for the new animation display. Signed-off-by: Innei <tukon479@gmail.com>
28 lines
492 B
Swift
28 lines
492 B
Swift
//
|
|
// AppleIntelligenceGlowEffectModule.swift
|
|
// Pods
|
|
//
|
|
// Created by Innei on 2025/2/24.
|
|
//
|
|
|
|
import ExpoModulesCore
|
|
|
|
public class AppleIntelligenceGlowEffectModule: Module {
|
|
public func definition() -> ModuleDefinition {
|
|
Name("AppleIntelligenceGlowEffect")
|
|
|
|
|
|
Function("show") {
|
|
DispatchQueue.main.async {
|
|
_ = showIntelligenceEffect()
|
|
}
|
|
}
|
|
|
|
Function("hide") {
|
|
DispatchQueue.main.async {
|
|
hideIntelligenceEffect()
|
|
}
|
|
}
|
|
}
|
|
}
|