Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit f47571c

Browse files
authored
Revert "Add drop shadow to separate bar button and body text" (#2588)
* Revert "fix crash showing localized alert for partial migrations (#2585)" This reverts commit beb22c6. * Revert "Add drop shadow to separate bar button and body text (#2573)" This reverts commit 51fb5fb.
1 parent beb22c6 commit f47571c

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

Classes/Repository/RepositoryViewController.swift

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -299,21 +299,6 @@ EmptyViewDelegate {
299299
present(alert, animated: trueUnlessReduceMotionEnabled)
300300
}
301301

302-
private func addDropShadow() {
303-
guard let buttonBarView = buttonBarView else {
304-
return
305-
}
306-
307-
let shadowPath = UIBezierPath(rect: CGRect(origin: CGPoint(x: 0, y: buttonBarView.bounds.height),
308-
size: CGSize(width: buttonBarView.bounds.width, height: 1)))
309-
buttonBarView.layer.masksToBounds = false
310-
buttonBarView.layer.shadowColor = UIColor.darkGray.cgColor
311-
buttonBarView.layer.shadowOpacity = 1
312-
buttonBarView.layer.shadowPath = shadowPath.cgPath
313-
buttonBarView.layer.shouldRasterize = true
314-
buttonBarView.layer.shadowRadius = 2
315-
}
316-
317302
// MARK: ButtonBarPagerTabStripViewController Overrides
318303

319304
override func viewControllers(for pagerTabStripController: PagerTabStripViewController) -> [UIViewController] {
@@ -346,12 +331,4 @@ EmptyViewDelegate {
346331
fetchDetails()
347332
}
348333

349-
// MARK: UIViewController Overrides
350-
351-
override func viewDidLayoutSubviews() {
352-
super.viewDidLayoutSubviews()
353-
354-
addDropShadow()
355-
}
356-
357334
}

0 commit comments

Comments
 (0)