954268a4b6
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
17 lines
679 B
Diff
17 lines
679 B
Diff
diff --git a/ios/AgeRangeModule.swift b/ios/AgeRangeModule.swift
|
|
index faf1089f4ddfb290105e959bb1f96a7250586f54..dafd2addb0c8d39a4a453bdeecbe27f7278e20f7 100644
|
|
--- a/ios/AgeRangeModule.swift
|
|
+++ b/ios/AgeRangeModule.swift
|
|
@@ -11,8 +11,9 @@ public class AgeRangeModule: Module {
|
|
return AgeRangeResponse()
|
|
}
|
|
|
|
- let currentVc: UIViewController? = await MainActor.run { [appContext] in
|
|
- appContext?.utilities?.currentViewController()
|
|
+ nonisolated(unsafe) let utilities = appContext?.utilities
|
|
+ let currentVc: UIViewController? = await MainActor.run {
|
|
+ utilities?.currentViewController()
|
|
}
|
|
|
|
guard let currentVc else {
|