Skip to content

Commit 1b36052

Browse files
authored
Unset window.rootViewController when resetting UI (#6157)
1 parent 303f8ca commit 1b36052

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

FirebaseAppDistribution/Sources/FIRAppDistributionUIService.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,7 @@ - (void)initializeUIState {
225225

226226
- (void)resetUIState {
227227
if (self.window) {
228+
self.window.rootViewController = nil;
228229
self.window.hidden = YES;
229230
self.window = nil;
230231
}

0 commit comments

Comments
 (0)