Skip to content

Commit

Permalink
Remove shadows
Browse files Browse the repository at this point in the history
Remove shadows from certain UI elements.
  • Loading branch information
henrikth93 committed Mar 23, 2024
1 parent e32fbb7 commit a71a093
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Scribe/AboutTab/InformationScreenVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class InformationScreenVC: UIViewController {

contentContainerView.backgroundColor = UIColor(named: "commandBar")
applyCornerRadius(elem: contentContainerView, radius: contentContainerView.frame.width * 0.05)
applyShadowEffects(elem: viewForApplyingShadow)


cornerImageView.clipsToBounds = true
contentContainerView.clipsToBounds = true
Expand Down
2 changes: 1 addition & 1 deletion Scribe/InstallationTab/InstallationVC.swift
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class InstallationVC: UIViewController {
// Enable installation directions and GitHub notice elements.
settingsBtn.isUserInteractionEnabled = true
appTextBackground.backgroundColor = UIColor(named: "commandBar")
applyShadowEffects(elem: appTextBackground)


// Set the texts for the fields.
switch Locale.userSystemLanguage {
Expand Down
4 changes: 2 additions & 2 deletions Scribe/SettingsTab/SettingsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ final class SettingsViewController: UIViewController {
parentTable.backgroundColor = .clear
parentTable.sectionHeaderHeight = sectionHeaderHeight
parentTable.separatorInset = separatorInset
applyShadowEffects(elem: parentTable)


setFooterButtonView()

Expand Down Expand Up @@ -82,7 +82,7 @@ final class SettingsViewController: UIViewController {
parentTable.tableFooterView?.isHidden = false
}

applyShadowEffects(elem: footerFrame)

footerButton.setTitle("Install keyboard", for: .normal)
footerButton.titleLabel?.font = .systemFont(ofSize: fontSize * 1.5, weight: .bold)

Expand Down

0 comments on commit a71a093

Please sign in to comment.