File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import UIKit
12
12
13
13
/// Presents a developer menu using the provided `DevMenuPresentationContextProvider`
14
14
/// upon notification from a `TriggerRecognizer`. Default recognizer is a `LongPressGestureRecognizer`
15
+ @MainActor
15
16
public final class AmplifyDevMenu : DevMenuBehavior , TriggerDelegate {
16
17
17
18
weak var devMenuPresentationContextProvider : DevMenuPresentationContextProvider ?
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ class GestureRecognizerTests: XCTestCase {
22
22
/// - Then:
23
23
/// - It should return true
24
24
25
+ @MainActor
25
26
func testGestureRecognizerAddedToWindow( ) {
26
27
let contextProvider = MockDevMenuContextProvider ( )
27
28
let longPressGestureRecognizer =
You can’t perform that action at this time.
0 commit comments