Skip to content

Commit f22fb65

Browse files
committed
Remove redundant updateViewConstraints calls from auto-translate prompt show/hide
1 parent c0e6a1d commit f22fb65

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

firefox-ios/Client/Frontend/Browser/BrowserViewController/Views/BrowserViewController.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2167,9 +2167,6 @@ class BrowserViewController: UIViewController,
21672167
}
21682168

21692169
prompt.applyTheme(theme: themeManager.getCurrentTheme(for: windowUUID))
2170-
if !isSnapKitRemovalEnabled {
2171-
updateViewConstraints()
2172-
}
21732170
}
21742171

21752172
private func removeAutoTranslatePrompt() {
@@ -2182,9 +2179,6 @@ class BrowserViewController: UIViewController,
21822179
}
21832180

21842181
autoTranslatePrompt = nil
2185-
if !isSnapKitRemovalEnabled {
2186-
updateViewConstraints()
2187-
}
21882182
}
21892183

21902184
// MARK: - Native Error Page

0 commit comments

Comments
 (0)