Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit 6271de6

Browse files
Remove outdated logic of setting the blur
1 parent 52ce5e6 commit 6271de6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

WordPressAuthenticator/Signin/LoginPrologueViewController.swift

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -398,10 +398,6 @@ class LoginPrologueViewController: LoginViewController {
398398
/// 2. Set the background color of the view controller to prologueViewBackgroundColor
399399
let prologueViewBackgroundColor = WordPressAuthenticator.shared.unifiedStyle?.prologueViewBackgroundColor ?? .clear
400400

401-
guard prologueViewBackgroundColor.cgColor == buttonsBackgroundColor.cgColor else {
402-
buttonBlurEffectView.effect = UIBlurEffect(style: blurEffect)
403-
return
404-
}
405401
// do not set background color if we've set a background image earlier
406402
if WordPressAuthenticator.shared.unifiedStyle?.prologueBackgroundImage == nil {
407403
view.backgroundColor = prologueViewBackgroundColor

0 commit comments

Comments
 (0)