Skip to content

Commit

Permalink
feat!: remove show like count feature
Browse files Browse the repository at this point in the history
oops
  • Loading branch information
SoCuul committed Mar 31, 2024
1 parent a3edc53 commit fee6c74
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 45 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ A feature-rich tweak for Instagram on iOS!\

# Features
### General
- Show like count
- Copy description
- Do not save recent searches

Expand Down Expand Up @@ -44,6 +43,9 @@ A feature-rich tweak for Instagram on iOS!\
### Security
- Padlock (biometric requirement to access app)

### Built-in Tweak Settings
Long press on the Instagram settings button to bring up the BHInsta tweak settings.

# Building
## Prerequisites
- XCode + Command-Line Developer Tools
Expand Down
1 change: 0 additions & 1 deletion src/Controllers/SettingsViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,6 @@ - (NSArray *)specifiers {
_specifiers = [NSMutableArray arrayWithArray:@[
// Section 1: General
[self newSectionWithTitle:@"General" footer:nil],
[self newSwitchCellWithTitle:@"Show like count" detailTitle:@"Show like count in the post" key:@"show_like_count" defaultValue:true changeAction:nil],
[self newSwitchCellWithTitle:@"Copy description" detailTitle:@"Copy the post description with a long press" key:@"copy_description" defaultValue:true changeAction:nil],
[self newSwitchCellWithTitle:@"Do not save recent searches" detailTitle:@"Search bars will no longer save your recent searches" key:@"no_recent_searches" defaultValue:false changeAction:nil],
[self newSwitchCellWithTitle:@"Hide explore posts grid" detailTitle:@"Hides the grid of suggested posts on the explore/search tab" key:@"hide_explore_grid" defaultValue:false changeAction:nil],
Expand Down
39 changes: 0 additions & 39 deletions src/Features/General/ShowLikeCount.x

This file was deleted.

1 change: 0 additions & 1 deletion src/Manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
+ (BOOL)removeSuggestedAccounts;
+ (BOOL)removeSuggestedReels;
+ (BOOL)removeSuggestedThreads;
+ (BOOL)showLikeCount;
+ (BOOL)postLikeConfirmation;
+ (BOOL)reelsLikeConfirmation;
+ (BOOL)followConfirmation;
Expand Down
3 changes: 0 additions & 3 deletions src/Manager.m
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ + (BOOL)removeSuggestedReels {
+ (BOOL)removeSuggestedThreads {
return [[NSUserDefaults standardUserDefaults] boolForKey:@"no_suggested_threads"];
}
+ (BOOL)showLikeCount {
return [[NSUserDefaults standardUserDefaults] boolForKey:@"show_like_count"];
}
+ (BOOL)postLikeConfirmation {
return [[NSUserDefaults standardUserDefaults] boolForKey:@"like_confirm"];
}
Expand Down

0 comments on commit fee6c74

Please sign in to comment.