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

Side Menu button is incorrect dimensions. #135

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Source/UIKitExtensions.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public extension UINavigationController {
return
}

let button = UIButton(frame: CGRect(x: 0, y: 0, width: 40, height: 40))
let button = UIButton(frame: CGRect(x: 0, y: 0, width: 22, height: 22))
button.accessibilityIdentifier = SideMenuController.preferences.interaction.menuButtonAccessibilityIdentifier
button.setImage(image, for: .normal)
button.addTarget(sideMenuController, action: #selector(SideMenuController.toggle), for: UIControlEvents.touchUpInside)
Expand Down