yogevbd 6 anni fa
parent
commit
3a282ea24b
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 1
    1
      e2e/Modals.test.js
  2. 1
    0
      lib/ios/RNNModalManager.m

+ 1
- 1
e2e/Modals.test.js Vedi File

@@ -21,7 +21,7 @@ describe('modal', () => {
21 21
     await expect(elementById(testIDs.WELCOME_SCREEN_HEADER)).toBeVisible();
22 22
   });
23 23
 
24
-  it(':android: unmount modal when dismissed', async () => {
24
+  it('unmount modal when dismissed', async () => {
25 25
     await elementById(testIDs.SHOW_MODAL_BUTTON).tap();
26 26
     await expect(elementById(testIDs.MODAL_SCREEN)).toBeVisible();
27 27
     await elementById(testIDs.MODAL_LIFECYCLE_BUTTON).tap();

+ 1
- 0
lib/ios/RNNModalManager.m Vedi File

@@ -30,6 +30,7 @@
30 30
 			_completionBlock();
31 31
 			_completionBlock = nil;
32 32
 		}
33
+		self.toVC = nil;
33 34
 	}];
34 35
 }
35 36