Skip to content
Code for NoSettingsChevrons
Makefile Logos
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
packages
Makefile
NoSettingsChevrons.plist
README.md
Tweak.xm
control

README.md

NoSettingsChevrons

A very simple tweak to remove chevrons on Settings cells

@interface PSTableCell // Declare header for PSTableCell
- (void)setForceHideDisclosureIndicator:(BOOL)arg1; // Add the method used
@end

%hook PSTableCell // Hook PSTableCell class

- (void)layoutSubviews { // Don't use layoutSubviews normally, but in this case it is fine as it doesn't add any views, just calls a setter method

	%orig; // Call the original method

	[self setForceHideDisclosureIndicator:true]; // Use the setter to hide the disclosure indicators (chevrons)

}

%end // End your hook
You can’t perform that action at this time.