yogevbd 6 years ago
parent
commit
47abec7f10
1 changed files with 6 additions and 0 deletions
  1. 6
    0
      lib/ios/RNNModalManager.m

+ 6
- 0
lib/ios/RNNModalManager.m View File

@@ -95,6 +95,12 @@
95 95
 			
96 96
 			[self removePendingNextModalIfOnTop:nil];
97 97
 		}];
98
+	} else {
99
+		[modalToDismiss.view removeFromSuperview];
100
+		modalToDismiss.view = nil;
101
+		if (completion) {
102
+			completion();
103
+		}
98 104
 	}
99 105
 }
100 106